News:

Support the VirtueMart project and become a member

Main Menu

error on php 8.2 - VM 4,20

Started by theictshak, September 29, 2023, 06:21:19 AM

Previous topic - Next topic

theictshak

We have started to update our sites to PHP 8.2 and VM 4.20 and I am getting the following error

PHP Deprecated:  Creation of dynamic property VirtueMartCart::$confirmDone is deprecated in components/com_virtuemart/helpers/cart.php on line 110

Is this coming from the template, or from VirtueMart, can anyone advise how we can fix this.

ssc3

#1
The "PHP Deprecated" error means the code should work as expected in PHP 8.2 but may not work in future versions of PHP.

You are most likely seeing this because your error reporting is set to maximum.

In the short term, if it is not causing a problem set the error reporting back to normal. Though in the long term term the code

will need updating.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ssnobben

Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben