Author Topic: PHP Error upgrading from 7.4 to 8.x  (Read 373 times)


  • Beginner
  • *
  • Posts: 20
PHP Error upgrading from 7.4 to 8.x
« on: December 06, 2022, 05:09:32 am »

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.


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28536
  • Always on vacation
    • Jenkin Hill Internet
Re: PHP Error upgrading from 7.4 to 8.x
« Reply #1 on: December 06, 2022, 11:29:28 am »
VM4.0.10 should be released very soon with fixes for PHP8.2

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.14 10805  J 3.10.11 PHP 8.0.27


  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10545
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: PHP Error upgrading from 7.4 to 8.x
« Reply #2 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.
Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team: