• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter chuckbrix

    (@chuckbrix)

    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.

    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;

    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).

    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.” ??

    Thread Starter chuckbrix

    (@chuckbrix)

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when creating/editing a Page’ is closed to new replies.