× Joomla Facebook Connect support forum

Topic-icon 4.x Error with Synk

Active Subscriptions:

None
12 years 7 months ago #13673 by fb_1457713054
Just upgraded to 4.x, when I go to login, I get a white screen. I turned on error reporting and saw the following error.

Fatal error: Class 'JUserHelper' not found in /home/girlscou/www/girlscoutsjs.org/plugins/user/synk.php on line 292

Synk is the program we use to sync our user database for two sites. I assume the file in question is from that.

It didn't happen before the update, so I think it might be connected with JFB somehow, but at the same point it's not your file (I don't think).
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #13675 by fb_1457713054
Replied by fb_1457713054 on topic 4.x Error with Synk
I just turned off JFB and turned on the CB_Login module so that my users won't have a problem. I'd like to get this up and going again, if possible.

I did a search for the error and it seems like the issue is "Class 'JUserHelper'" rather than synk.php. Not sure if that helps at all. The solutions I found for other components didn't seem to apply here.
The topic has been locked.
Support Specialist
12 years 7 months ago #13676 by alzander
Replied by alzander on topic 4.x Error with Synk
Don't have a clue about Synk, but you can try adding the following line to the top of their file (under the JEXEC statement, which hopefully is there):
jimport('joomla.user.helper');
JUserHelper is a core Joomla function, which we use to generate the activation token for users and a few other things.

Hopefully, including the import statement above will let Synk find it, and thinks will be hunky-dory from there. If not, let us know, and good luck!
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #13678 by fb_1457713054
Replied by fb_1457713054 on topic 4.x Error with Synk
It looks like that worked. Thanks.
The topic has been locked.
Support Specialist
12 years 7 months ago #13679 by alzander
Replied by alzander on topic 4.x Error with Synk
Glad to hear that did it. We like the simple solutions, even if they're not for issues with our stuff :D

If you haven't already, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect, or our support. It's certainly not required, but very appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and good luck,
Alex
The topic has been locked.