Forums

Error when creating/editing a Page (6 posts)

  1. chuckbrix
    Member
    Posted 5 years ago #

    I have upgraded to WP2.1, and now get the following error when I create or edit a Page:

    Warning: Cannot use a scalar value as an array in /home/usefulst/public_html/wp-includes/post.php on line 117

    The Page does get saved and posted, but the error is annoying.

    Any ideas?

    Thanks,
    Chuck

  2. chuckbrix
    Member
    Posted 5 years ago #

    Just as an update, I get the same error when I try to delete a page:

    Warning: Cannot use a scalar value as an array in /home/usefulst/public_html/wp-includes/post.php on line 117
    1

    The only difference is the little "1" on the second line.

  3. mjesales
    Member
    Posted 5 years ago #

    I can't get this to work either on a fresh install of wordpress 2.1 from godaddy's metropolisinstaller.

    I'm not sure if its an issue from that or not

    line 117 is:

    $post_cache[$blog_id][$post] = & $_post;

  4. bookchiq
    Member
    Posted 5 years ago #

    I am also having this issue on one of my blogs (but not all). I will certainly update if I find a solution. I have installed this blog from scratch (as opposed to using an installer).

  5. bookchiq
    Member
    Posted 5 years ago #

    I eventually tracked this error down to a plugin: Google Sitemaps 3.0b4

    Upgrading the plugin to Google Sitemaps 3.0b6 solved the problem for me.

    If you're not using this plugin, try disabling all plugins and see if the page save works. If it does, try re-enabling one at a time, testing the page save between each one to identify the "problem plugin." :)

  6. chuckbrix
    Member
    Posted 5 years ago #

    Hey bookchiq. Tried this, but didn't work. I'll have to keep searching for the solution.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags