Possible Joomla 5 issue

Phoca Cart - complex e-commerce extension
Wayne-Zona
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Mar 2023, 19:33

Possible Joomla 5 issue

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Possible Joomla 5 issue

Post 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
Wayne-Zona
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Mar 2023, 19:33

Re: Possible Joomla 5 issue

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Possible Joomla 5 issue

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Possible Joomla 5 issue

Post by Jan »

EDIT: I found the problem, will be fixed in next Beta version (be aware, Beta is still in development)

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Possible Joomla 5 issue

Post 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
If you find Phoca extensions useful, please support the project
ssnobben
Phoca Member
Phoca Member
Posts: 10
Joined: 26 Jul 2008, 09:37

Re: Possible Joomla 5 issue

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Possible Joomla 5 issue

Post by Jan »

Hi, ufnortunatelIy, I don't remember it specifically but there were changes regarding events completely :idea:
If you find Phoca extensions useful, please support the project
Post Reply