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

  • Resolved John Turner

    (@johnnytee)


    I receiving an error “[Thu Jun 23 15:28:40 2011] [error] [client 153.9.5.36] PHP Fatal error: Cannot unset string offsets in /srv/www/seedprod.com/public_html/wp-content/plugins/wordpress-seo/wp-seo.php 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 ) {
    ….
    unset(..);
    }

    http://wordpress.org/extend/plugins/wordpress-seo/

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

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    When and where are you getting the error?

    Have you tested it by turning off your other plugins?

    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)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    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?

    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)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

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

    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.
    Cheers!

    Dan

    (@drawmyface)

    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.

    Dan

    (@drawmyface)

    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

    (@joostdevalk)

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

    Dan

    (@drawmyface)

    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.