WordPress.org

Support

Support » Requests and Feedback » Fatal error: template.php

Fatal error: template.php

  • con49357

    @con49357

    I just upgraded to WordPress 2.6.2. On the Manage/Page page there is no pages listed and I get this message
    Fatal error: Unsupported operand types in /home/con49357/public_html/discussion/wp-admin/includes/template.php on line 571
    On the file template.php on line 571 it has
    $pages = &$top_level_pages;
    }”

    The front page of my blog looks the same as before (I only have one page) and the comments page is working alright.

    I accidently overwrote the back-up program and cannot upload the old file.

    Is there any way I can fix this so that I can have more page?
    Does anyone have any suggestions?

    Anne Wright

Viewing 1 replies (of 1 total)
  • con49357

    @con49357

    Sorry I made a mistake
    Line 571 should read

    “$start = ($pagenum – 1) * $per_page;”

    Anne Wright

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: template.php’ is closed to new replies.