Facebook Error Message

Facebook Error Message

Hi everyone,

I´ve just updated the plugin. After that I recieve the message:

Warning: strpos() expects parameter 1 to be string, object given in /var/www/vhosts/loginconsultants.com/httpdocs/components/com_jfbconnect/libraries/profile/facebook.php on line 71

Warning: strpos() expects parameter 1 to be string, object given in /var/www/vhosts/loginconsultants.com/httpdocs/components/com_jfbconnect/libraries/profile/facebook.php on line 73

We don´t use facebook, we only use it for linkedin. Any recommondations?

Thanks in advance,
Tim

loxlay
useravatar
Offline
5 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Error Message

I'm unsure why you're getting that warning. Can you try the following:
* Go to the Configuration -> Facebook area and set an AppID and Secret Key of 1234 (just garbage stuff is fine)
* Go into the Profiles area of JFBConnect and simply hit "Save"
* Go back to the Facebook area and remove the AppID and Secret Key

That should re-store the profile field mappings in your database and, hopefully, fix things up.

If not, please don't worry. The PHP warning is just that, a warning, not something going wrong or causing functional issues. You can safely hide that by going to the Joomla Global Configuration area and setting the Error Reporting setting to 'None', which is recommended for production / live sites anyways.

I hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24100 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Error Message

Hi Alex,

thanks for your quick reply! I´ve set AppID and secret key to 1234 and safed it -> works perfectly fine again.

Thank you so much!

Regards,
Tim

loxlay
useravatar
Offline
5 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Error Message

Unsure what happened, but glad to hear that got you going.

I'm not sure if you did, but you should remove the appid / secret key again. It should need to be set to 1234, that hopefully just fixed the problem by saving something there and removing it.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24100 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11663
Total Polls:
0
Total Posts:
48978
Posts today:
6
User Info
 
Total Users:
47791
Newest User:
alex01
Members Online:
1
Guests Online:
820

Online: 
alex01
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program