Page 2 of 2
Re: Phoca Cart checkout error after update to J5
Posted: 05 Mar 2025, 13:42
by Jan
Hi, which error do you exactly get, which Joomla version and which PHP version, maybe there is some problem in Joomla ( Joomla\CMS\Event\Model\FormEvent) and PHP 8.3.

Re: Phoca Cart checkout error after update to J5
Posted: 05 Mar 2025, 14:28
by Jan
But testing now on PHP 8.3 and see no problem there.

Can you write here all the debug message including the trace?
Jan
Re: Phoca Cart checkout error after update to J5
Posted: 21 Mar 2025, 08:56
by Profdesigner
Thank you Jan for the work you are doing. I also had this error in the shopping cart when I enabled the option to place an order from a guest in the shopping cart. I go to the shopping cart and click on the "guest order" button.
------------------------------------
And I get the error:
Joomla\CMS\Event\Model\FormEvent::onSetData(): Argument #1 ($value) must be of type object|array, bool given, called in C:\OSPanel\domains\mysite.local\libraries\src\Event\AbstractEvent.php on line 227
------------------------------------
I use:
- pkg_phocacart_modules_v4.0.9
When the "Guest Order" is disabled, everything is working fine again.
p.s: I tested it, it doesn't work on PHP 8.3 and 8.4 either. The same mistake.
Use the beta version of your product?
Re: Phoca Cart checkout error after update to J5
Posted: 21 Mar 2025, 15:24
by Jan
The error comes from Joomla system, not from Phoca Cart, can you list there the trace so we know which methods called this method (the trace is a part of debug message).
If you use Joomla 5, then you should use Phoca Cart 5, now in RC version:
https://www.phoca.cz/download/99-phoca- ... -component
Jan
Re: Phoca Cart checkout error after update to J5
Posted: 25 Mar 2025, 08:51
by Profdesigner
Thank you for your reply! I installed the 5th version of phocacart, everything is fine here and there is no error!
Re: Phoca Cart checkout error after update to J5
Posted: 01 Apr 2025, 01:54
by Jan
OK