Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Error in dashboard/create page after having created a page template

Discussion in 'Misc WordPress Requests' started by paulberg70, Nov 26, 2017.

  1. paulberg70

    Guest

    Error in dashboard/create page after having created a page template, by paulberg70

    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

    Error in dashboard/create page after having created a page template
     
    #1

Share This Page

Web Hosting