Bug (and way to solve it) – conflicts with WP Embed Facebook
-
I’m getting this exception:
“Fatal error: Cannot redeclare class BaseFacebook in C:\Program Files (x86)\Zend\Apache2\htdocs\GitHub\**WEB**\wp-content\plugins\wp-embed-facebook\lib\fb\base_facebook.php on line 118”I use both – “WP Embed Facebook” and “Facebook SEO comments” plugins. The thing is that “Facebook SEO comments” plugin is compatible with other, while “WP Embed Facebook” is not. I advice to copy-paste this line from “Facebook SEO comments” file:
base_facebook.phpif (!class_exists('FacebookApiException')) { /** * Thrown when an API call returns an exception. * * @author Naitik Shah <[email protected]> */ class FacebookApiException extends Exception { ...
The WP Embed Facebook is missing these two first lines
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug (and way to solve it) – conflicts with WP Embed Facebook’ is closed to new replies.