× Joomla Facebook Connect support forum

Topic-icon Error at profiles - Jomsocial

Active Subscriptions:

None
14 years 9 months ago #12768 by zdrmau
At priofiles tab I am getting following message:
Use the tab(s) below to configure how JFBConnect should integrate with other components on your site.

jomsocial

Fatal error: Call to undefined method CommunityModelProfile::getProfileTypes() in /home/expert/public_html/artritis/plugins/jfbcprofiles/jomsocial.php on line 449

Does anyone have idea how to fix this?

Thanks, Z
The topic has been locked.
Support Specialist
14 years 9 months ago #12771 by alzander
Yes, it's because you're using an older version of JomSocial. We recently updated the profile plugin to work with JomSocial's profile type feature which was introduced in JomSocial 2.0. After we released, we realized that it would break compatibility with older (1.6, 1.8, etc) versions of JomSocial.

To fix, please try the following change in /plugins/jfbcprofiles/jomsocial.php, at line 449:
$profileTypes = null

Make sure you set the Profile Types to not show during registration, as that won't work. Also, please test! It's possible that will cause other problems, but hopefully, it should fix you right up.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12823 by zdrmau
Thank you for replay. You are right. We are using JomSocial 1.8.6 on the web site where we have this problem. On other web site we use JS 2.2. and it works fine with JFBC.

We will upgrade JS to newer version.

Kind regards,

Zdravko
The topic has been locked.
Support Specialist
14 years 9 months ago #12838 by alzander
Sounds good. We're on the fence about making modifications to make the JomSocial plugin work for 1.8 or lower, simply because 2.x has been out about a year now, and we need to cut off support at some point to prevent our code from getting too ugly.

If you decide to stick with 1.8, let us know though so we know that it will at least benefit one user :)

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