Page 1 of 1

Possible Joomla 5 issue

Posted: 26 Oct 2023, 15:45
by Wayne-Zona
Hi, I have just replicated my store on a test Joomla 5 install and if I put something in the basket and hit 'guest checkout' I get a blank white 0 page with this message:

Joomla\CMS\Event\Model\FormEvent::onSetData(): Argument #1 ($value) must be of type object|array, bool given, called in /homepages/13/d430977276/htdocs/zona1/joom/j5/libraries/src/Event/AbstractEvent.php on line 225

Never had that under J4. Is Phoca Cart fully J5 compatible yet?

Many thanks,
Wayne

Re: Possible Joomla 5 issue

Posted: 26 Oct 2023, 16:49
by christine
Hi Wayne,

Which version did you install?

Because for Joomla 5 there is a Beta Version for testing purposes only:

https://www.phoca.cz/news
see: https://www.phoca.cz/download/99-phoca- ... -component
Phoca Cart Beta (Test Version)

Kind regards
Christine

Re: Possible Joomla 5 issue

Posted: 26 Oct 2023, 17:27
by Wayne-Zona
Thanks, I didn't know there was a beta. However, I have just installed it and I get exactly the same problem. Definitely not working. Sorry.

Re: Possible Joomla 5 issue

Posted: 27 Oct 2023, 01:48
by Jan
Hi, please enable debug mode in Joomla Global Configuration to see whole trace of the error - to see, from which part the problem is comming.

Phoca Cart is now in Beta verison for Joomla 5.

Jan

Re: Possible Joomla 5 issue

Posted: 27 Oct 2023, 02:09
by Jan
EDIT: I found the problem, will be fixed in next Beta version (be aware, Beta is still in development)

Jan

Re: Possible Joomla 5 issue

Posted: 27 Oct 2023, 02:33
by Jan
This can be tested in 5.0.0 Beta4:
https://github.com/PhocaCz/PhocaCart/re ... 0Beta4.zip

(Be aware, when updating from previous 5.0.0 Beta version, it is possible, that some columns or tables will be missed in database, in such case, the SQL queries for updating tables/columns need to be run manually, they can be found in : administrator/components/com_phocacart/update/sql/mysql/5.0.0.sql - #__ should be changed to own prefix e.g. jos_).

Jan

Re: Possible Joomla 5 issue

Posted: 08 Dec 2023, 12:02
by ssnobben
Hi great that you find this problem bcs I also have the same problem deleting users from EasySocial and have this message.

Any tips how to solve this appreciated and I also post on Joomla forum about this and if you want can give some tips how to fix it there. https://forum.joomla.org/viewtopic.php?f=844&t=1005420

Thks.

Cheers!

Re: Possible Joomla 5 issue

Posted: 10 Dec 2023, 00:49
by Jan
Hi, ufnortunatelIy, I don't remember it specifically but there were changes regarding events completely :idea: