Jump to content

ProcessWire: ProcessPageAdd: Unknown template


jd@
 Share

Recommended Posts

Hi,

i have create a new template (as php file) for a second repeater solution and it works also fine at first without any problems. Then i have tryed to add a new page (from startpage) from the backend and suddenly i could only choose one option to assign a new template (only the template, which i created before). Now i have delete all (my new template, the fields and pages) and if i try now to add a new page from startpage,
i get this error:

DEBUG MODUS ABLAUFVERFOLGUNG ($config->debug == true):
#0 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/modules/Process/ProcessPageAdd/ProcessPageAdd.module(505): ProcessWire\ProcessPageAdd->isAllowedTemplate(NULL, Object(ProcessWire\Page))
#1 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(380): ProcessWire\ProcessPageAdd->___execute()
#2 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___execute', Array)
#3 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageAdd), 'execute', Array)
#4 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/ProcessController.php(337): ProcessWire\Wire->__call('execute', Array)
#5 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(380): ProcessWire\ProcessController->___execute()
#6 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___execute', Array)
#7 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessController), 'execute', Array)
#8 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/admin.php(150): ProcessWire\Wire->__call('execute', Array)
#9 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/modules/AdminTheme/AdminThemeUikit/controller.php(15): require('/var/www/vhosts...')
#10 /var/www/vhosts/my-page.de/httpdocs/my-page.de/site/templates/admin.php(15): require('/var/www/vhosts...')
#11 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/TemplateFile.php(287): require('/var/www/vhosts...')
#12 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render()
#13 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___render', Array)
#14 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array)
#15 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/modules/PageRender.module(536): ProcessWire\Wire->__call('render', Array)
#16 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent))
#17 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___renderPage', Array)
#18 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array)
#19 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(924): ProcessWire\Wire->__call('renderPage', Array)
#20 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Page), 'render', Array)
#21 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/modules/Process/ProcessPageView.module(213): ProcessWire\Wire->__call('render', Array)
#22 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(383): ProcessWire\ProcessPageView->___execute(true)
#23 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___execute', Array)
#24 /var/www/vhosts/my-page.de/httpdocs/my-page.de/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageView), 'execute', Array)
#25 /var/www/vhosts/my-page.de/httpdocs/my-page.de/index.php(55): ProcessWire\Wire->__call('execute', Array)
#26 {main}

I have checked all my configs, templates and pages in backend and can`t find anything that uses the "old" one template.
Is there a default config/field in a database which i could reset?
Any Idea , how can i fix this problem?
Thanks for any help

 

Link to comment
Share on other sites

Ah! Ok, we have found the reason - super!!! ? :
in the "home" template the family was really the config "one, not more allowed" and in addition i have forget to delete in Files "Attached a file" my new (deleted) template.

Great, thanks a lot for your help - i really thought that i had reset all configurations, then i try again with my repeater template ...

 

  • Like 1
Link to comment
Share on other sites

But, i could not really understand it, because if i now test this configuration for my home template, it works as expected and i have now the selection for all templates which are allowed.
There was this problem and now he`s gone...i also worked without the cache all the time...strange!
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...