Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #657

Deprecated: Creation of dynamic property J2StoreTableCustomer::$campaign_addr_id is deprecated in /home/getshots/public_html/libraries/f0f/table/table.php on line 645

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Ian Shere

With maximum error reporting turned on, I'm getting this error on Joomla 4.5.2. I'm also seeing this one, but not sure if it's related or separate:

 

Deprecated: Creation of dynamic property F0FUtilsObject::$limit is deprecated in /home/getshots/public_html/libraries/f0f/utils/object/object.php on line 165

Olivier Buisard Staff

Hello Ian,

this is a well know issue and unfortunatly because the underlying library J2Store was based on (F0F), is not longer maintained for the latest versions of PHP.

If you need error reporting on, you need to modify your php.ini file to ensure all warnings related to deprecations are removed. You will need to set the error reporting to 'System default'.

In the php.ini file, look for error reporting and add or uncomment:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

Deprecation messages are not errors, but are here to tell you that the next major version of PHP (PHP 9) will no longer accomodate the outdated code.

We are building J2Commerce v6 from the ground up to get rid of F0F so that this won't be a concern in the near future.

 

Olivier.

Ian Shere

Hi Olivier, thanks for the feedback. I was trying to update the site to 6.0.2, and I always turn on maximum reporting prior to turning off the compatibility plugin, just in case it fails and I can see what's causing the issue. This is the first time I've changed off Default, so the first time I've seen the issue pop up.

Does the current version of J2Store support Joomla6 or should I just wait for the new version?

Olivier Buisard Staff

You need to wait for 4.1.0 for support for Joomla 6. This won't resolve the F0F isues until we release J2Commerce 6.0 but at least it will allow you to update to Joomla 6. There will be an easy to follow update documentation once 4.1 is out.

Olivier.