Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Possible Bug Found

  • Resolved John Turner


    I receiving an error “[Thu Jun 23 15:28:40 2011] [error] [client] PHP Fatal error: Cannot unset string offsets in /srv/www/ on line 90”

    It seems the unset is causing an error. If I comment out line 90 it get an error on the next one line 100. I have added a fix be check that it’s not = to 0.

    if ( isset( $options[$opt] ) && $option[$opt] != 0 ) {

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Ipstenu (Mika Epstein)


    When and where are you getting the error?

    Have you tested it by turning off your other plugins?

    John Turner


    This might be an issue only in multisite. It works fine on my main blog, but subsites have the error. It’s related to the wpseo option it pulls from the db. On the main site the values is a:2:{s:15:”ms_defaults_set”;b:1;s:7:”version”;s:5:”0.4.2″;}
    on the subsites the values is: 0pseo_xml

    You can reproduce the error by replacing the option wpseo with the bad value in the db then call /wp-admin/admin-ajax.php?action=

    Moderator Ipstenu (Mika Epstein)


    I’m using this on MultiSite (activated network wide, but configured per site) with no issues. 4 sites, happy as clams. The values are correct all down the line. Which is why I wondered if you had a plugin conflict.

    Can you reset to defaults on the affected sites?

    John Turner


    ok looks like it adds this value ‘0pseo_xml ‘ to wpseo open when a subsite is 1st created. The bug occurs until the the plugin is configured. Once configured it save the proper values. Crisis averted:) thx

    Moderator Ipstenu (Mika Epstein)


    *heh* The fix is to configure the plugin. Makes sense 😉

    Piet Bos


    thanks for figuring this out! I also had the Fatal Error line and after basic configuration I was good to go. Not sure if it helps anyone, but for me the error was triggered on a subsite of a multisite install when editing the description (adding images) of categories.

    It’s still not working for me, I’m getting the error when adding a featured image to a post.

    Do you know what exactly you have to configure to get it working?

    I can export my config if you like? I’m not sure what exactly triggers the replacement of the 0pseo_xml place holder with out going back to the code.

    If you could, that would be a great help. Thanks.

    ha, looks like the export is broken. anyway I followed this guide.

    How to Install and Setup WordPress SEO Plugin by Yoast

    Plugin Author Joost de Valk


    I’d need to look at your server to be able to reproduce / fix this… Please contact me through my site’s contact form.

    I don’t know what happened, but the plugin miraculously started working for me. May be the 1.0 update.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Possible Bug Found’ is closed to new replies.