[SOLVED]PWA 4.6.1 error

Open to all! Ask other shopowners for help.
Locked
bitit
Member
Posts: 84
Joined: Thu Jun 24, 2021 4:00 pm
Phoenix Version:
Has thanked: 1 time
Been thanked: 3 times

[SOLVED]PWA 4.6.1 error

Post by bitit »

hi everyone,

i have installed PWA_phoenix_4.6.1 in Phoenix 1.0.8.20
i have tested it with php 7.4.x / 8.0.x / 8.2.x

in all version of php i have errors when click on "Contunue" on checkout_guest.php

in php 8.2.1 i have the following error :

Code: Select all


Warning: Undefined array key "email_address" in /archivio/html/luzzi.it/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php on line 81

Fatal error: Uncaught TypeError: Text::prepare(): Argument #1 ($s) must be of type string, null given, called in /archivio/html/mysite.it/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php on line 81 and defined in /archivio/html/mysite.it/shoes/includes/system/versioned/1.0.8.2/text.php:63 Stack trace: #0 /archivio/html/mysite.it/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php(81): Text::prepare() #1 /archivio/html/mysite.it/shoes/includes/system/versioned/1.0.8.1/hooks.php(150): hook_shop_siteWide_pwa->listen_injectAppTop() #2 /archivio/html/mysite.it/shoes/includes/system/versioned/1.0.8.1/hooks.php(128): hooks->cat() #3 /archivio/html/mysite.it/shoes/includes/system/versioned/1.0.8.1/hooks.php(160): hooks->register_page() #4 /archivio/html/mysite.it/shoes/includes/application_top.php(30): hooks->generate() #5 /archivio/html/mysite.it/shoes/checkout_guest.php(22): require('...') #6 {main} thrown in /archivio/html/mysite.it/shoes/includes/system/versioned/1.0.8.2/text.php on line 63
in php 7.4.x

i have

Code: Select all

Notice: Undefined index: email_address in /var/www/vhosts/mysite.it/httpdocs/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php on line 81

Fatal error: Uncaught TypeError: Argument 1 passed to Text::prepare() must be of the type string, null given, called in /var/www/vhosts/mysite.it/httpdocs/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php on line 81 and defined in /var/www/vhosts/mysite.it/httpdocs/shoes/includes/system/versioned/1.0.8.2/text.php:63 Stack trace: #0 /var/www/vhosts/mysite.it/httpdocs/shoes/templates/override/includes/hooks/shop/siteWide/pwa.php(81): Text::prepare() #1 /var/www/vhosts/mysite.it/httpdocs/shoes/includes/system/versioned/1.0.8.1/hooks.php(150): hook_shop_siteWide_pwa->listen_injectAppTop() #2 /var/www/vhosts/mysite.it/httpdocs/shoes/includes/system/versioned/1.0.8.1/hooks.php(128): hooks->cat() #3 /var/www/vhosts/mysite.it/httpdocs/shoes/includes/system/versioned/1.0.8.1/hooks.php(160): hooks->register_page() #4 /var/www/vhosts/mysite.it/httpdocs/shoes/includes/application_top.php(30): hooks->generate() #5 /var/www/vhosts/mysite.it/httpdocs/shoes/checkout_guest.php(22): require('/var/www/vhosts...') #6 {main} thrown in /var/www/vhosts/mysite.it/httpdocs/shoes/includes/system/versioned/1.0.8.2/text.php on line 63
can you help me?

enrico


Join The Code Co-op to get access to your library in the Code Co-op Forum
bitit
Member
Posts: 84
Joined: Thu Jun 24, 2021 4:00 pm
Phoenix Version:
Has thanked: 1 time
Been thanked: 3 times

Re: [SOLVED]PWA 4.6.1 error

Post by bitit »

ok, i'm stupid, i have forgot to set in >module>customer data>email address
the pages:
checkout_guest

Forgive me

Enrico
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: [SOLVED]PWA 4.6.1 error

Post by ecartz »

I'm glad that you've solved your problem. In the future, please remember to ask questions about add-ons through the appropriate channel. For the free version of PWA, that would be app.php/addons/free_addon/purchase_with ... nt/support


Join The Code Co-op to get access to your library in the Code Co-op Forum
Locked