Joomla 4.2.5 with virtuemart 4.0.8 10748
Shopping cart show white page - no error reports, no debugs - simply nothing.
Notification message opens white pop up - the same: no content
anyone else the same?????
some ideas????
I assume u have debugging full up?
Server log? Ran out of memory?
install n3t Debug and write 500 error there:
https://bitbucket.org/n3t/n3t-debug/downloads/
@pinochico I send people here for n3t https://extensions.joomla.org/extension/n3t-debug/ So they know it's a recognised Joomla extension.
Fatal error: Call to undefined method via call(): clear in /www/htdocs/w01aa2bc/domain.de/components/com_virtuemart/helpers/cart.php on line 787 in /www/htdocs/w01aa2bc/domain.de/libraries/vendor/joomla/input/src/Input.php on line 332
The Cart-Modul has to be deactivated to run the website..;-(
which undefined method on line 787?
787: $cartData = $cookie->clear('myCart');
if (empty($contEncode)) {
$cookie = JFactory::getApplication()->input->cookie;
$cartData = $cookie->clear('myCart');
}
$trace = debug_backtrace();
trigger_error(
'Call to undefined method via call(): ' . $name . ' in ' . $trace[0]['file'] . ' on line ' . $trace[0]['line'],
E_USER_ERROR
);
}
Mittlerweile muss ich leider feststellen, dass der Shop sich komplett mit einer weissen Seite verabschiedet hat. Fehlermeldung auch bei ausgeschaltetem cart-modul und im Katalog-Modus
Fatal error: Call to undefined method via call(): clear in /www/htdocs/w01aa2bc/domain.de/components/com_virtuemart/helpers/cart.php on line 787 in /www/htdocs/w01aa2bc/domain.de/libraries/vendor/joomla/input/src/Input.php on line 332
Seit Ihr sicher dass das mit php8.1.7 Joomla 4.2.5 und virtuemart 4.0.8 10748 wirklich zusammenpasst?
Habe jetzt mal auf die Schnelle den Hikashop installiert - wollte aber nicht komplett umbauen..;-(
Wäre dann auch dringend - so vor Weihnachten....
If you want to write in german, please use our german forum https://forum.virtuemart.de/
The used lines are really very standard. Actually we just added at the end the joomla way to delete a cookie.
$cookie = JFactory::getApplication()->input->cookie;
$cartData = $cookie->clear('myCart');
We have even a tester who used php8.3, already. There will be a new release, very soon. But no one had this problem before. Tested since 2 weeks. But this fix should work
if (empty($contEncode)) {
$cookie = JFactory::getApplication()->input->cookie;
if(method_exists($cookie, 'clear')){
$cartData = $cookie->clear('myCart');
}
}
And just, because you noticed. I wrote in the news and also in the forum that I do not recommend to use vm4 with j4.2. J4.2 added the mysql strict mode, which created a lot problems for us. and other problems.