Installation/Set up problems
-
Hi,
Just setting things up and testing, and I can’t get anything at all to display — no posts, group pages, anything.
I’m not getting any errors, just empty space.
Anything you can suggest I check?
I’m using the Suffusion theme.
Thanks,
Art
-
same here. what’s funny though is that it works on another site hosted elsewhere. so this is either server related or clashing with another wp component (maybe caching?)
Sorry for the delay friends is this still a problem?
Hi,
I just tried to install this plugin on my WP and I got a critical error while trying to turn on the plugin:
Parse error: syntax error, unexpected T_FUNCTION in [my WP folder]/wp-content/plugins/wp-embed-facebook/wp-embed-fb.php on line 32
Any clues?
I’m using WP 4.0 with Anew theme.
Thanks,
MagdaHi the issue is your version of PHP on line 32 of the plugin there is an anonymous function, that functionality only works with php 5.3+ I guess you are using 5.2, you can go into the plugin editor inside wp-admin and change line 32 from
add_filter('the_content', function($ct){ return '<div id="fb-root"></div>'.PHP_EOL.$ct; },10,1);to
add_filter('the_content'add_filter('the_content',wpemfb_root_func,10,1); function wpemfb_root_func($ct) {return '<div id="fb-root"></div>'.PHP_EOL.$ct;}Or if it is in your posibilities change to a hosting with a more updated version of PHP.
Thanks for the answer, I checked my version of PHP and it’s 5.4.21, so more 5.2 π
Anyway, I changed the plugin code as you suggested and when I tried to turn on the plugin I got:Parse error: syntax error, unexpected T_STRING in [my WP folder]/wp-content/plugins/wp-embed-facebook/wp-embed-fb.php on line 32
Can we do sth about it?
Thanks,
MagdaI made some modifications on the new version try it out. Let me know if your problems get solved with this update.
Love the plugin. It was working for a bit on Chrome, but then stopped all of a sudden. I tried various checkboxes on and off in settings, but nothing effected it. I too get just blank boxes with no content, but in IE (sigh) it works just fine.
Scroll down to the bottom. The last row is where the plugin should show the posts.
Hi daxcastro! I checked your page on Chrome and FF and I can see the boxes just fine. ^_^
As for me, when I installed the plugin and tried to make it work, I am just getting this error:
Fatal error: Call to a member function api() on a non-object in [my WP folder]/wp-content/plugins/wp-embed-facebook/lib/core.php on line 221
Just wondering anyone can lend a hand towards helping me fix this issue. ^_^ Thanks in advance!
@daxcastro
Hi, I can see your embedded post on chrome just fine, have you tried on a diferent computer? probably a chrome extension/addon?@tiggerlappy
Hi there, this error shows because another plugin or theme uses the facebook php api, if you have an idea of what plugin or theme is responsible, please write it here so I can tell you how to addapt to it, and/or create an update.Hi – I am also having this error:
Fatal error: Call to a member function api() on a non-object in /nfs/c05/h03/mnt/160110/domains/btcooc.com/html/wp-content/plugins/wp-embed-facebook/lib/core.php on line 223I am using a theme called “Purity” and (afaik) there is no conflicting plugin since I only installed yours and one called “Add from Server”.
Thanks for any help with this!
EDIT: I tried a few more post types. One basic FB worked, another did not. The first error was generated trying to link to a public album. I was able to get a post with a photo to work though:
This might sound silly but did you put your facebook app id and secret
on the setting page ? The only reason that this error could happen is if they are missing or if the facebook api is called by your theme wich I doubt.
The topic ‘Installation/Set up problems’ is closed to new replies.