Forums

[Plugin: All in One SEO Pack] PHP Catchable fatal error: aioseop.class.php on line 705 (3 posts)

  1. flavordream
    Member
    Posted 2 years ago #

    I found error messages in my host server logs

    PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/mydomain/html/wordpress/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 705

    in addition to that,

    this message was also followed, which was PHP Fatal error: Call to a member function get() on a non-object in /home/mydomain/html/wordpress/wp-includes/cache.php on line 93

    what is the problem??

    thank you for you concern

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  2. TheBigDeal
    Member
    Posted 2 years ago #

    Same two errors...anyone got any solutions. I tried this one but no luck.

    I'm going to have to abandon All in One SEO Pack.

  3. Texiwill
    Member
    Posted 1 year ago #

    I had this problem on Line 707, with $version = "1.6.10.2" and the solution was pretty straight forward. The problem I saw was that $category_description was being converted to a WP_Error when there was a problem with the category_description for some reason. Not sure why that is happening yet. So if this does happen I just put in a simple test.... It will alleviate the error but SEO does not appear to suffer. I use the Multibox plugin and saw this error only when that was in use....

    Change:
    $title = str_replace('%category_description%', $category_description, $title);

    to be:

    if(!is_object($category_description)) {
    $title = str_replace('%category_description%', $category_description, $title);
    } else {
    $title = str_replace('%category_description%', '', $title);
    }

Topic Closed

This topic has been closed to new replies.

About this Topic