Jump to content

cannot clone object of ... SimpleXMLElement due to 'zend.ze1_compatibility_mode'


Recommended Posts

hi all,

 

i am a bit confused with the setup of php on my hoster.

i am trying to use a public facebook php rest api.

i always get the error

Cannot clone object of class SimpleXMLElement due to 'zend.ze1_compatibility_mode'

the line responsible in code:

 

$sxml = simplexml_load_string($xml);

 

the php.ini settings of the hoster

http://terions.de/phpinfo.php

 

the "zend.ze1_compatibility_mode" seems to be set to "OFF". so i assume everything is right.

everywhere on the net i only find the suggestion to turn it off, but in my case it seems to

already be set to "OFF".

 

does anyone have any idea what i am doing wrong or could point me in the right direction?

 

any help would be highly appreciated.

 

thanks a lot

marcel

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.