- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 26.03.20, 10:28
- Opened by: Alberto
- Closed by: Fred
- Closed on: 30.03.20, 10:28
- Reason: Closed
- Comment: Glad to help!
Ticket #17119 - cart in amp, error 500
hi, this is the detail of the error (same error in prestashop 1.7.6.3 and prestashop 1.7.6.4, alysum Version 5.4.0 ):
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Ps_checkout::hookPaymentOptions(), 0 passed in /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/modules/pk_amp/controllers/front/checkout.php on line 122 and exactly 1 expected in /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/modules/ps_checkout/ps_checkout.php:432\nStack trace:\n#0 /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/modules/pk_amp/controllers/front/checkout.php(122): Ps_checkout->hookPaymentOptions()\n#1 /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/modules/pk_amp/controllers/front/checkout.php(78): Pk_AmpCheckoutModuleFrontController->injectPaymentModulesScripts()\n#2 /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/classes/controller/Controller.php(292): Pk_AmpCheckoutModuleFrontController->initContent()\n#3 /var/www/vhosts/www.mydomain.com/httpdocs/ps1763/classes/Dispatcher.php(515): ControllerCore->run()\n#4 /var/www/vhosts/www.mydomain.com/ht...\n', referer: https://www.mydomain.com/ps1763/es/mobile
any solution please?
Comments
Hi, Alberto.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP
Hi Fred, data filled.
Thanks
Same for me
impossible to use amp checkout process because php fatal error raise with the same !
i try braintree ps checkout native, bankwire
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Ps_checkout::hookPaymentOptions(), 0 passed in /var/www/prestashop/modules/pk_amp/controllers/front/checkout.php on line 122 and exactly 1 expected in /var/www/prestashop/modules/ps_checkout/ps_checkout.php:432\nStack trace:\n#0 /var/www/prestashop/modules/pk_amp/controllers/front/checkout.php(122): Ps_checkout→hookPaymentOptions()\n#1 /var/www/prestashop/modules/pk_amp/controllers/front/checkout.php(78): Pk_AmpCheckoutModuleFrontController→injectPaymentModulesScripts()\n#2 /var/www/prestashop/classes/controller/Controller.php(292): Pk_AmpCheckoutModuleFrontController→initContent()\n#3 /var/www/prestashop/classes/Dispatcher.php(515): ControllerCore→run()\n#4 /var/www/prestashop/index.php(28): DispatcherCore→dispatch()\n#5 {main}\n thrown in /var/www/prestashop/modules/ps_checkout/ps_checkout.php on line 432,
my env settings :
ps 1.7.6.4
php 7.1.33
php modapache 2 with apache 2.4.10
best
In my test, it’s a clean prestashop installation.
regards
idem
AMP is not compatible with ps_checkout module. Give me a time, I’ll try to find a solution
@Alberto: The issue has to be fixed now.
@Lgexpro: Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP
hi Fred, then? need i reinstall any module or theme?
Thanks
The issue has been fixed. Please test to confirm the change
thank last update fixed my pb;)
you’re the best Fred;)=
hi, yes, fixed :)
Thanks
you are welcome