Class ‘DOMDocument’ not found, xyz-functions.php line 144
-
I’m getting
PHP Fatal error: Class ‘DOMDocument’ not found in /usr/local/www/data-dist/brt/gessel/wp-content/plugins/facebook-auto-publish/xyz-functions.php on line 144
if (!function_exists("xyz_wp_fbap_attachment_metas")) {^M function xyz_wp_fbap_attachment_metas($attachment,$url)^M {^M $name='';$description_li='';$content_img='';$utf="UTF-8";^M $aprv_me_data=wp_remote_get($url,array('sslverify'=> (get_option('xyz_fbap_peer_verification')=='1') ? true : false));^M if( is_array($aprv_me_data) ) {^M $aprv_me_data = $aprv_me_data['body']; // use the content^M }^M else {^M $aprv_me_data='';^M }^M ^M $og_datas = new DOMDocument();^M @$og_datas->loadHTML('<?xml encoding="UTF-8">'.$aprv_me_data);^M $xpath = new DOMXPath($og_datas);^M /* if(isset($attachment['name']))^M
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Class ‘DOMDocument’ not found, xyz-functions.php line 144’ is closed to new replies.