Topic-icon Error Stric Standards

Active Subscriptions:

None
11 years 3 weeks ago #32749 by renasrenas
Hi,

Please let me know how to resolve this bug.
Strict Standards: Declaration of JFBConnectProfileData::bindData() should be compatible with that of JRegistry::bindData() in /mnt/data/vhosts/casite-374510.cloudaccess.net/httpdocs/components/com_jfbconnect/libraries/profile.php on line 357

Regards,

Renas
The topic has been locked.
Support Specialist
11 years 3 weeks ago #32752 by alzander
Replied by alzander on topic Error Stric Standards
Renas,
That's a strict standards message, which means it's not a problem causing error, just a notification that we're not adhering to strict PHP specifications. That's something we can't do in this case due to a change between Joomla 2.5 and 3.0.

I'd recommend ignoring the error and not running Joomla with the Error Reporting set to "Strict Standards". Maximum or any other lower setting will hide that message.

If you really want to fix the code, you can edit the /components/com_jfbconnect/libraries/profile.php file and edit line 400 so it looks like:
protected function bindData(&$parent, $data)
The difference is the '&' in front of parent. That's not a change we'll make in a future release though, so you'd need to re-do that change with every new release if the strict standards message is that important to fix.

Hope that helps,
Alex
The topic has been locked.