Error when creating a new page

Permalink
Hey all,

I'm running 5.7.4.2 and not too sure what changed to cause this error as it was working before. I thought it was because the site's relative URL changed, but when I switched the .htaccess file back and tried the old URL I still got the error, but I'll leave the details in just in case it's relevant:
I installed C5 before we got our domain set up on a new host. So the site was built when the URL was username.hostgator.com/~username/concrete5/, the domain is switched over now and the URL is just example.com/concrete5/ (and will eventually be just the root once I get final approval). I searched for guides on moving the site folder and the only change I could really find for 5.7 was to change the .htaccess and clear the cache.

The site displays fine and I can edit content without a problem, however when I go to add a new page via the "Add page and navigate your site" button next to the dashboard I get the following error:
Argument 1 passed to Concrete\Core\Page\Type\Type::createDraft() must be an instance of Concrete\Core\Page\Template, null given, called in /home2/username/public_html/concrete5/concrete/controllers/backend/page.php on line 31 and defined


or if I try it via the dashboard / sitemap page, log file:
PHP Fatal error:  Call to a member function getPageTemplateID() on a non-object in /home2/username/public_html/concrete5/concrete/src/Page/Type/Type.php on line 292


Thanks for any help

 
A3020 replied on at Permalink Reply
A3020
Go to index.php/dashboard/pages/types, click on basic details, select a template and press save.
koke replied on at Permalink Reply
It gave the following error when I hit save but I can create pages again, thanks!
Call to a member function getPageTemplateID() on a non-object