WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Fatal error: Cannot use object of type WP_Error as array (3 posts)

  1. bplumb
    Member
    Posted 1 year ago #

    Hello,

    I installed the SEO plugin yesterday and have set up all features as required. This morning, having not made any additional changes, the SEO box underneath any Post or Page states:

    Fatal error: Cannot use object of type WP_Error as array in (website...)public_html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 665

    Does anyone know what may have caused this and how I can go about fixing it? Since the error, I cannot see any text in my posts or pages, and therefore have no ability to add or amend blogs.

    Many thanks,

    bplumb

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

  2. bplumb
    Member
    Posted 1 year ago #

    EDIT:

    The line in question is
    $gplus = json_decode( $resp['body'] );

    I did amend my Google+ contact details this morning, so there must be some issue here...any ideas?

  3. bplumb
    Member
    Posted 1 year ago #

    I think I have sorted. It seemed that the issue was my Google+ field finished with /posts. As soon as I remove this, all seems fine...I think!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.