Page 1 of 1

Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 08:41
by c3zehn
Hallo

wenn ich im Warenkorb auf Kasse gehe, kommt diese Fehlermeldung:
Joomla\CMS\Event\Model\FormEvent::onSetData(): Argument #1 ($value) must be of type object|array, bool given, called in /home/p-fzk40w/html/creative13_umzug-lg5yt/libraries/src/Event/AbstractEvent.php on line 225

Re: Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 10:38
by Benno
Hi,
Welche Joomla! Version verwendest Du?
Welche Phoca Cart Komponente Version verwendest Du?
Ggf. welche Phoca Cart Cart Modul Version verwendest Du?
Welche PHP Version verwendest Du?
Erhälst Du eine genauere Fehlermeldung, wenn Du Error Reporting=Maximum und den Joomla! Debug Modus aktivierst (Call Stack)?

Freundliche Grüße,
Benno

Re: Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 11:15
by c3zehn
Hallo Benno,

Joomla 5.0.2
PHP: 8.2.10
Phoca Crat Version 4.0.10

das ist die Meldung:

Joomla\CMS\Event\Model\FormEvent::onSetData(): Argument #1 ($value) must be of type object|array, bool given, called in /home/p-fzk40w/html/creative13_umzug-lg5yt/libraries/src/Event/AbstractEvent.php on line 225

und hier wenn ich debuge:

Call Stack
# Function Location
1 () JROOT/libraries/src/Event/Model/FormEvent.php:116
2 Joomla\CMS\Event\Model\FormEvent->onSetData() JROOT/libraries/src/Event/AbstractEvent.php:225
3 Joomla\CMS\Event\AbstractEvent->setArgument() JROOT/libraries/src/Event/AbstractEvent.php:115
4 Joomla\CMS\Event\AbstractEvent->__construct() JROOT/libraries/src/Event/AbstractImmutableEvent.php:51
5 Joomla\CMS\Event\AbstractImmutableEvent->__construct() JROOT/libraries/src/Event/Model/FormEvent.php:56
6 Joomla\CMS\Event\Model\FormEvent->__construct() JROOT/libraries/src/MVC/Model/FormBehaviorTrait.php:198
7 Joomla\CMS\MVC\Model\FormModel->preprocessForm() JROOT/components/com_phocacart/models/checkout.php:510
8 PhocaCartModelCheckout->loadFormGuest() JROOT/components/com_phocacart/models/checkout.php:466
9 PhocaCartModelCheckout->getFormGuest() JROOT/libraries/src/MVC/View/AbstractView.php:159
10 Joomla\CMS\MVC\View\AbstractView->get() JROOT/components/com_phocacart/views/checkout/view.html.php:233
11 PhocaCartViewCheckout->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
12 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_phocacart/controller.php:53
13 PhocaCartController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:18
15 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
16 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
18 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
19 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
20 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
21 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
22 require_once() JROOT/index.php:32

Re: Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 14:09
by c3zehn
Ich habe den Fehler gefunden

wenn ich die 5. Beta nehme klappt alles wunderbar ...

Re: Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 14:27
by Jan
OK, danke für Info.

Jan

Re: Kasse kommt Fehlermeldung

Posted: 11 Jan 2024, 15:21
by c3zehn
Hallo Jan,

ich hoffe aus der 5.0 Beta wird bald eine volle Version, damit ich diese im Produktiven System einsetzen kann.
Gerade mache ich es so im halb Produktiven System da ich schlecht abschätzen kann was unter Umständen fehlt zur 4.0.1
Grüße
Andy

Re: Kasse kommt Fehlermeldung

Posted: 17 Jan 2024, 10:31
by adm
Joomla-Version Joomla! 5.0.2 Stable [ Kuboresha ] 9-January-2024 16:00 GMT
PHP-Version 8.1.2-1ubuntu2.14
Phoca Cart 5.0.0Beta20 30/12/2023
Phoca Cart - VIES VAT Number Validation 4.0.6 03.02.2023
Phoca Cart Cart Module 5.0.0Beta 17/10/2023
Phoca Cart Payment - Paypal Standard Plugin 4.0.8 17/08/2023

Ich bekomme den folgenden Fehler beim "Bestellung bestätigen":
0 Class "PhocaCartText" not found

Call Stack
# Function Location
1 () JROOT/plugins/pct/vies_vat_number_validation/vies_vat_number_validation.php:339
2 plgPCTVies_Vat_Number_Validation->checkVat() JROOT/plugins/pct/vies_vat_number_validation/vies_vat_number_validation.php:68
3 plgPCTVies_Vat_Number_Validation->onPCTonUserAddressBeforeSaveOrder() JROOT/libraries/src/Plugin/CMSPlugin.php:289
4 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
5 Joomla\Event\Dispatcher->dispatch() JROOT/administrator/components/com_phocacart/libraries/src/Dispatcher/Dispatcher.php:23
6 Phoca\PhocaCart\Dispatcher\Dispatcher::dispatch() JROOT/administrator/components/com_phocacart/libraries/phocacart/order/order.php:101
7 PhocacartOrder->saveOrderMain() JROOT/components/com_phocacart/controllers/checkout.php:945
8 PhocaCartControllerCheckout->order() JROOT/libraries/src/MVC/Controller/BaseController.php:730
9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:18
10 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
17 require_once() JROOT/index.php:32

Re: Kasse kommt Fehlermeldung

Posted: 17 Jan 2024, 10:51
by Benno
Hi,
siehe: https://github.com/PhocaCz/PhocaCart/re ... /5.0.0Beta
Es ist noch keine J5 kompatible Version vom: Phoca Cart - VIES VAT Number Validation Plugin
verfügbar.

Freundliche Grüße,
Benno