Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    I’ve added extra debugging messages to the DEV version to get more info on this. Please download and install the latest DEV version from http://downloads.wordpress.org/plugin/nextgen-facebook.zip. Then turn on NGFB’s debug mode from NGFB’s setting page.

    Thanks,

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Andrey,

    I just checked your site and notice the following error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/andreyandreev/andrey-andreev.com/wp-content/plugins/nextgen-facebook/nextgen-facebook.php on line 817

    A little research reveals this is probably a WP database issue with taxonomies.

    I’m going to try and handle this error in NGFB. Let me get back to you a bit later…

    Thanks,

    js.

    Andrey4o

    (@andrey4o)

    Thank you very much for your support 🙂 !

    Plugin Author JS Morisset

    (@jsmoriss)

    Ok, I found the problem, and a solution.

    It appears that if there’s a problem with the taxonomy table, WP will return an object instead of the intended string. So, for example, instead of using this:

    $cat_parents = get_category_parents($cat, TRUE, '' . $delimiter . '')

    We have to use the following to avoid PHP throwing an error:

    echo is_wp_error( $cat_parents = get_category_parents($cat, TRUE, '' . $delimiter . '') ) ? '' : $cat_parents;

    Hopefully the WP folks will fix this problem, but until then, at least NGFB will be able to handle it. 😉

    This solution came from http://wordpress.org/support/topic/catchable-fatal-error-object-of-class-wp_error-could-not-be-converted-to-string-11?replies=17.

    Please download and install the latest DEV version from http://downloads.wordpress.org/plugin/nextgen-facebook.zip again, and let me know the results.

    Thanks,

    js.

    Andrey4o

    (@andrey4o)

    Thank you very much… I think now it work well 🙂 Thank you 🙂
    Andrey

    Plugin Author JS Morisset

    (@jsmoriss)

    You’re welcome.

    Please consider a donation and a rating, if you can.

    Thanks,

    js.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with categories’ is closed to new replies.