Error on External Pages
-
We would like to begin using your plugin, unfortunately we are including the WordPress header on pages outside of wordpress using:
– require($_SERVER[‘DOCUMENT_ROOT’].’/wp-load.php’);
– get_header();
– get_footer();With this plugin installed and activated the plugin breaks with the error “Fatal error: Call to a member function is_wpml_active() on null in /var/www/html/pub/wordpress_chds/resources/plugins/wonderm00ns-simple-facebook-open-graph-tags/public/class-webdados-fb-open-graph-public.php on line 329” probably because it can not find any information about the page title, image, etc.
We do not need the metatags on external pages but are just hoping the plugin could fail silently and not break our external pages.
Any ideas on how to get around this error is appreciated,
Louis
The topic ‘Error on External Pages’ is closed to new replies.