× Joomla Facebook Connect support forum

Topic-icon Component Error causing site to crash

Active Subscriptions:

None
14 years 9 months ago #12844 by tim205
The following is from our errolog. It is one of many errors we are trying to debug.

[28-Aug-2011 19:46:46] PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/***/public_html/administrator/components/com_jfbconnect/models/config.php on line 250
[28-Aug-2011 19:46:46] PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/****/public_html/administrator/components/com_jfbconnect/models/config.php on line 250

Do you know what is causing this error and how can we fix it?

Thanks,
Tim
The topic has been locked.
Support Specialist
14 years 9 months ago #12847 by alzander
Tim,
I'm not sure honestly. Never heard of that one.

Basically, that section of code is loading up all the settings for JFBConnect, which are required for it to function properly. That warning is indicating that there's an issue loading the settings from the database. I would recommend looking at your database and make sure that the xxx_jfbconnect_config table (with whatever prefix you're using, usually jos) exists. Also, in that table, there should be about 30 or so settings saved in that table. If that's not there, you'll see the warning you're getting, and is a big problem.

Hope that gets you started. If that table is there and everything seems normal, let us know and we'll help you look into other possible causes. If so, please let us know your Joomla version number, PHP version, and JFBConnect version. That may also help in case there are known issues with your configuration.

Thanks,
Alex
The topic has been locked.