Hi,
I recently installed Invitex on one of my sites where I also have CB and CB Facebook Connect v 1.3 installed.
When I go to the Invitex menu item I created, I get the following error message:
Fatal error: Call to undefined method facebook::getUser() in public_html/components/com_comprofiler/plugin/user/plug_cbfacebookconnect/cb.facebookconnect.php on line 694
Note that I do not have this problem with invitex on other sites I use it on where I do not have CB Facebook Connect installed.
Function getUser (line 705) is defined directly below function getUserID, which is where the error is occurring. "facebook::getUser()", this is not correct however. The usage is not by reference, but object oriented using "$facebook->getUser();". Was FBC altered in any way?
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 reinstall FBC 1.3 as well as ensure you've absolutely no other Facebook extension installed as they will conflict. There's no code to alter, it's working perfectly fine as is. I've no idea why your install is trying to execute by reference instead of by object; some sort of optimization extension installed perhaps?
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.
Okay, thanks, I will try reinstalling FBC 1.3 and will let you know what happens. It works fine in general, just only when I try to go to the invitex menu item I get that message. So I will see if reinstalling it fixes it. Thanks.