News:

Support the VirtueMart project and become a member

Main Menu

Joomla 5

Started by hazael, October 11, 2023, 11:10:55 AM

Previous topic - Next topic

hazael

Joomla 5 will be officially released by the end of October 2023. Will Virtuemart be compatible with this version of Joomla?
Has anyone already tested this connection?

StefanSTS

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

MKI-Miro

Can we update to Joomla 5?

jenkinhill

There's no reason why you can't try it on a test site. Seems a lot of people are having problems due to the database requirements, though. https://forum.joomla.org/viewtopic.php?f=837&t=1004758

J4 is to be supported for another 2 years (at least) and J3 has independent support for another 2 years or so, so there is no pressure to update yet.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

hazael

Joomla 5 works a little faster than Joomla 4
After migrating to Joomla 5, practically everything works for me except Virtuemart...

I don't know what the problem is yet
After a theoretically successful installation, each attempt to enter the Virtuemart panel reports an error:
You must specify a non-empty path to clean


razor7

Quote from: jenkinhill on October 22, 2023, 20:28:54 PM
There's no reason why you can't try it on a test site. Seems a lot of people are having problems due to the database requirements, though. https://forum.joomla.org/viewtopic.php?f=837&t=1004758

J4 is to be supported for another 2 years (at least) and J3 has independent support for another 2 years or so, so there is no pressure to update yet.

Hi! can you point me to J3 independent support website or something?

Thanks a lot!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Elboy

Virtuemart latest version doesn't seem to work with Joomla 4.4. Errors all over the place. So how can you say it will work with Joomla 5?

GJC Web Design

@Elboy : Have u reported these errors with full debugging info, example pages and links, screenshots etc?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jumbo!

Quote from: Elboy on November 07, 2023, 10:04:31 AM
Virtuemart latest version doesn't seem to work with Joomla 4.4. Errors all over the place. So how can you say it will work with Joomla 5?

Strange. We do not see any such errors on any of our sites. Why don't you share the errors?

Elboy

Ok here are some of the errors I am receiving.

Localhost, fresh install of J4.4. Using casseopia theme, PHP Version 8.1.12
Debug on, error reporting maximum

Menu > new > VM > Product details layout

Warning: Undefined variable $catHash in C:\xampp81\htdocs\joomla4\administrator\components\com_virtuemart\fields\product.php on line 48
Warning: Undefined variable $catHash in C:\xampp81\htdocs\joomla4\administrator\components\com_virtuemart\fields\product.php on line 67
Warning: Undefined variable $catHash in C:\xampp81\htdocs\joomla4\administrator\components\com_virtuemart\fields\product.php on line 69
Warning: Undefined variable $catHash in C:\xampp81\htdocs\joomla4\administrator\components\com_virtuemart\fields\product.php on line 70
Warning: Undefined variable $catHash in C:\xampp81\htdocs\joomla4\administrator\components\com_virtuemart\fields\product.php on line 75

Load product in front end
Under reviews section

Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in C:\xampp81\htdocs\joomla4\components\com_virtuemart\sublayouts\snippets.php on line 43

Elboy

Also getting this error on checkout on Server testing
Server has 768mb ram in php.ini for this site, which should be plenty

Error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 635441152 bytes)
Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 635441152 bytes) in ........./public_html/administrator/components/com_virtuemart/helpers/vmecho.php on line 81

GJC Web Design

#12
It will be the debug running you out of memory -- very common..

disable some/all options in the Joomla debug plugin like queries etc so it will then just provide traces without trying to display 300 queries

try
$catHash = '';

at the start of the _getProducts() in that file

My latest: com_virtuemart.4.2.5.10924 -- line 43 of snippets doesn't refer to a datetime which is why you should always quote exactly what version you are using.

error reporting maximum is there for developers to develop code... obviously it is nice to have no warnings or deprec's but this certainly doesn't prevent the use of the software
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hazael

Quote from: GJC Web Design on November 08, 2023, 11:56:56 AM
My latest: com_virtuemart.4.2.5.10924

Tell me where you got version 4.2.5 - newer than 4.2.4
I have an active subscription, so I don't understand why I have an old version to download?
Is there some double standard here that I don't know about?

ViPeS

VM 4.2.18 11050, Joomla 4.4.8, PHP 8.1.13