Error in dashboard/create page after having created a page template
-
Hello everybody
I am trying to create a page template in my wordpress . i simply created a new page called “test.php and added the template form like this
<?php /* Template Name: test */ ?>
After I stored the page in my repository, mytheme/test.php
I opened my dashboard – i go to new page , trying to create a page with my new template and i got soon this error
( ! ) Warning: file_get_contents(C:\wamp\www\paologs/wp-content/themes/relogs/test_page.php): failed to open stream: No such file or directory in C:\wamp\www\paologs\wp-includes\class-wp-theme.php on line 1042
with other details that follow.
I stressed that i created a page called test_page.php before, but then i deleted from my repository. Is maybe this old page influencing my system?
I tried to clean the cache but this did not solve
Thanks in advance.
p..s it is a new website in my localhost hence i dont have a live one to show here yet.Paolo
- The topic ‘Error in dashboard/create page after having created a page template’ is closed to new replies.