Closed

Notice: Accessing static property VmImage::$theme_url as non static

Tue Apr 11, 2023 7:25 pm
Hi! using J! 4 and VM 4.0.12 found a PHP notice and got it working

In the plugin helper file have changed line 374 from this
    $imageData = $this->getImageData($image->$theme_url . 'assets/images/vmgeneral/' . VmConfig::get('no_image_set'));

to this:
    $imageData = $this->getImageData($image::$theme_url . 'assets/images/vmgeneral/' . VmConfig::get('no_image_set'));

$theme_url is declares static in VmMediaHandler

 WaWe says thank you to ghiamar for this post.

The topic has been closed.
Wed Apr 12, 2023 11:07 am
Thanks for the heads up.

It seems they made some changes in the recent VirtueMart releases. We will change this in the next update of the plugin.
Post your reviews about us on our Facebook Page.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.

 WaWe says thank you to Jumbo for this post.

The topic has been closed.