Topic-icon JFConnect Friend requesr user ID error

Active Subscriptions:

None
10 years 4 months ago - 10 years 4 months ago #40023 by dcasmr
Hi,
When we send a Friend request using the Invite friend request, an error is produced when the receiver clicks on the link. Please see below:
Notice: Undefined index: user_id in /mysiteroot/public_html/components/com_jfbconnect/libraries/provider/facebook/request.php on line 43
The app also does not show any error on the Javascript console.
Thanks

N.B. Please see the app on facebook.
apps.facebook.com/avisburkina/
Last edit: 10 years 4 months ago by dcasmr.
The topic has been locked.
Support Specialist
10 years 4 months ago #40030 by alzander
Sorry for that message. That's a PHP notice, and not really an error. There is something we should be doing slightly different in our code, and we'll update it in the next release. That message shouldn't be causing any funcitonal issues though.

You can disable the display of PHP Notices and Warnings by setting "Error Reporting" in the Joomla Global Configuration area to "None". That's the recommended setting for a production/live website.

We'll make sure that notice doesn't appear with a fix in the next release.

I hope that helps, and thanks for pointing that out,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 4 months ago #40035 by dcasmr
Alex,
Thanks for your suggestion. When error reporting is set to NONE, the jfbc request is sent. The user receives it, however, when clicked on the link it is totally BLANK.
Could that notice could be an issue that affects the request?
thanks
The topic has been locked.
Support Specialist
10 years 4 months ago #40040 by alzander
You're likely running into an error in our code that can cause that white page error in specific situations. Please check out this post with a minor code change that should fix things.

If you still have issues after that, just let us know. That fix will definitely be in the next release as well.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 4 months ago #40047 by dcasmr
Hi Alex,
Now, the request is sending fine... I will update the forum with the details of the fix for those who might be having issues later on. The problem is that with various templates, components, modules and plugins it's really hard to isolate things.
Thank you
The topic has been locked.
Support Specialist
10 years 4 months ago #40062 by alzander
Awesome. Glad to hear you got things going. Should you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.