VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: cgerraty on December 06, 2022, 05:09:32 AM

Title: PHP Error upgrading from 7.4 to 8.x
Post by: cgerraty on December 06, 2022, 05:09:32 AM
Firstly:

Virtuemart: VirtueMart 3.8.8 10472
PHP Version    7.4.33
Joomla! Version    Joomla! 3.10.11 Stable [ Daraja ] 14-August-2022 14:18 GMT
Joomla! Platform Version    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Only recently received the message about PHP7.4 not being security updated.   I enabled PHP 8.x on my server and it seems that the only error I am getting is when I go to update an order status.   IT comes back with "An error has occurred"  then: ` Attempt to modify property "cartPrices" on nul  '
with a button " Return to Control Panel"   (see attached picture)

At this stage it is the only error I have come across (at this stage) and we use the funtion quite a bit so out customers can track the status of their orders.

Have reverted back to 7.4 until I can find the solution.
Title: Re: PHP Error upgrading from 7.4 to 8.x
Post by: jenkinhill on December 06, 2022, 11:29:28 AM
VM4.0.10 should be released very soon with fixes for PHP8.2
Title: Re: PHP Error upgrading from 7.4 to 8.x
Post by: Milbo on December 20, 2022, 23:06:57 PM
hmm, the error is unknown to me. Please check your error logs in vm. just to go tools and check the virtuemart log there. maybe therer is a trace.