WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: template.php (2 posts)

  1. con49357
    Member
    Posted 5 years ago #

    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

  2. con49357
    Member
    Posted 5 years ago #

    Sorry I made a mistake
    Line 571 should read

    "$start = ($pagenum - 1) * $per_page;"

    Anne Wright

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.