• 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.

  • The topic ‘WP_Error in json_decode’ is closed to new replies.