Topic-icon PHP Strict Standards Errors

11 years 4 months ago #28324 by latino07
Hi:

Using latest version (4.3.0) I am getting PHP Strict Standard errors:

[Mon Dec 03 22:33:18.288914 2012] [:error] [pid 18446:tid 139971826386688] [client x.x.x.x:61466] PHP Strict Standards: Declaration of JFBConnectModelUserMap::getInstance() should be compatible with JModel::getInstance($type, $prefix = '', $config = Array) in /var/www/html/customers/bbxyz/administrator/components/com_jfbconnect/models/usermap.php on line 12, referer: bbxyz.com/

USER wrote: [Mon Dec 03 22:37:04.690031 2012] [:error] [pid 18440:tid 139971572737792] [client x.x.x.x:61581] PHP Warning: Creating default object from empty value in /var/www/html/customers/bbxyz/administrator/components/com_jfbconnect/common/scconfig.php on line 88, referer: www.bbxyz.com/administrator/index.php?op...bconnect&view=social

[Mon Dec 03 22:37:22.546293 2012] [:error] [pid 18525:tid 139971541268224] [client x.x.x.x:61587] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/customers/bbxyz/plugins/system/osesecure/osesecure.php on line 50, referer: www.bbxyz.com/administrator/index.php?op...bconnect&view=social


Setup: Joomla 2.5.28, PHP 5.4.9, MySQL 5.5.28, Apache 2.4.3, Centos 6.3

TIA
The topic has been locked.
Support Specialist
11 years 4 months ago #28329 by alzander
Latino,
The first warning about the getInstance call will definitely be fixed in the v4.3.1 release as that's actually causing some other issues. We'll have to look into the 2nd message you post, but it won't be fixed in the 4.3.1 release (due out tomorrow).

The last warning isn't from JFBConnect at all, so I can't help you there.

As for strict warnings, we do take care to prevent as many as we can, and in general, JFBConnect adhere's very well to the standards. The strict warnings aren't really issues that will cause problems on your site though, so I wouldn't be too concerned with them.

Hope that helps, and thanks for the report,
Alex
The topic has been locked.