Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[#3603] Getting Error On Facebook connect plugin

12 years 5 months ago - 12 years 5 months ago #205689 by amahadevan
Hi,

I am using Facebook Connect Plugin. After logging in am getting this error

Catchable fatal error: Object of class stdClass could not be converted to string in <span>/</span>home<span>/</span>myserver/public_html/mysite/components/com_comprofiler/plugin/user/plug_cbfacebookconnect/cb.facebookconnect.php on line 986



Regards,
Alladi.
Last edit: 12 years 5 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
12 years 5 months ago #205716 by krileon
Replied by krileon on topic Re: Getting Error On Facebook connect plugin
Joomla version? CB version? FBC version?

Line 986 is just as follows.
Code:
$cache[$id]->avatar = stripslashes( cbGetParam( $results_array, 'picture', null ) );

It obtains the users profile picture. It's suppose to be a string according to Facebook documentation and works in all my tests. Ensure you're using latest release.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

12 years 5 months ago #205862 by amahadevan
Replied by amahadevan on topic Re: Getting Error On Facebook connect plugin
Hi,

Thanks for your reply.

I am having the same line in 986

$cache[$id]->avatar = stripslashes( cbGetParam( $results_array, 'picture', null ) );



Version:-

Joomla! version, 2.5.6.

CB version 1.8.1

CB Facebook Connect 1.10:

Regards,
amahadevan.

Please Log in or Create an account to join the conversation.

  • flocktree
  • flocktree
  • OFFLINE
  • Posts: 29
  • Thanks: 0
  • Karma: 0
12 years 5 months ago - 12 years 5 months ago #205863 by flocktree
Replied by flocktree on topic Re: Getting Error On Facebook connect plugin
We are now getting the same error, this was working fine until the end of last week.

Error Catchable fatal error: Object of class stdClass could not be converted to string in /public_html/dev/joomla/components/com_comprofiler/plugin/user/plug_cbconnect/cbconnect.class.php on line 1456

Occurs after trying to login using facebook details.

Joomla 2.5.4
CB 1.8
CB Connect 3.3.6
Last edit: 12 years 5 months ago by flocktree.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
12 years 5 months ago #205893 by krileon
Replied by krileon on topic Re: Getting Error On Facebook connect plugin
Weird, wonder if Facebook made a change on their end. Have created the below bug ticket for investigation.

forge.joomlapolis.com/issues/3603


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • dimitri9
  • dimitri9
  • OFFLINE
  • Posts: 42
  • Thanks: 1
  • Karma: 0
12 years 5 months ago #205940 by dimitri9
Replied by dimitri9 on topic Re: Getting Error On Facebook connect plugin
Having the same problem. So far I can see, Avatar is not coming. Joomla 2.5.6. , 1.8 CB , latest cb connect plugin.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum