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?
Yes
Stefan
Can we update to Joomla 5?
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.
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
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!
See https://magazine.joomla.org/all-issues/july-2023/extended-security-support-for-joomla-3x
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?
@Elboy : Have u reported these errors with full debugging info, example pages and links, screenshots etc?
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?
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
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
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
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?
The answer is here https://forum.virtuemart.net/index.php?topic=150651.msg538158
Quote from: ViPeS on November 09, 2023, 12:18:19 PM
The answer is here
Now everything is clear. Thanks for the info :)