Using facebook sdk php 3.0 without json installed? -
i trying facebook php sdk 3.0 tutorial error: fatal error: cannot use object of type stdclass array
i guess has php version 5.1.6 on live server ( on xampp have 5.3.1). use jsonwrapper doesn't seem work still
fatal error: cannot use object of type stdclass array in /var/www/vhosts/mydomain.com/httpdocs/fb/base_facebook.php on line 560
is there way working??
that has nothing json.
you're doing $object['element'] when should doing $object->element, or can turn $object array casting $object = (array)$object;.
Comments
Post a Comment