WordPress.org

Ready to get started?Download WordPress

Forums

WP_Error in json_decode (1 post)

  1. faddoo
    Member
    Posted 2 years ago #

    Im trying to build a facebook login connector for my wordpress site, but the json_decode seems not working. Anyone got an idea or know what this is?

    Error:
    Fatal error: Cannot use object of type WP_Error as array in \lib\core\facebook.php on line 102

    Line 102:
    $user = json_decode( $data['body'] );

    i tried with json_encode but still have the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic