News:

Support the VirtueMart project and become a member

Main Menu

Undefined array key Itemid [VM 4.0.6]

Started by hazael, July 19, 2022, 14:06:22 PM

Previous topic - Next topic

hazael

PHP Warning: Undefined array key "Itemid" in /components/com_virtuemart/router.php on line 304

PHP Warning: A non-numeric value encountered in /administrator/components/com_virtuemart/models/product.php on line 1041 and 1042

PHP 8.1

pinochico

#1
8.1?

:o :o :o :o


Last week we discuss on the Joomla Cafe about php 8.1 and Joomla and 3d party app (etc. Phoca Gallery) and result was - nothing function and lot of errors.

And this week you go and put VM to PHP 8.1 and send info about erorr  :P Because you have hosting with PHP8.1 isn't it.
I like you.

Motto:
Before I change some basic setup on the hosting, then I, and only I, shake my head and in my brain i find light on the end my journey
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

hazael

Hehe, You have to go with the times!  ;D

These are just minor PHP error messages in Apache.


Overall Joomla in its basic version works fine. The only problem with PHP 8.1 is the old modules and components.
The entire Virtuemart package and some new additions from breakdesign work very well with the latest PHP.

On my server I am testing the site on PHP: 7.4.3, 8.0.21, 8.1.8