I have spent considerable time trying to resolve this problem and have found some other posts similar but have been unable to find a solution.
A new customer isn't able to fill out the region / state part of the address on the front end. However if I intervene from admin, I'm able to select it from the back end. Strangely, if I then look at the entry again in the front end and try to make an edit of it, the State /region is blank again.
It has not been the case for all customers however and I think it may be specific to the safari browser, but I'm uncertain.
I would appreciate any support that could be offered as a solution
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thank you
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
Chose various countries and states/regions on register page and was able to continue.
Chrome desktop
It seems to be a problem when somebody uses an iphone or ipad, which is not uncommon these days.
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
Are the states regions unavailable - disabled ?
State region is a DROPDOWN - you don't fill it out as such
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
In this case I'm using an ipad
Attachments
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
The second error is caused by the first error - there is no array.
It is difficult to know from here what is the cause
What extensions etc do you have installed
Apply the fixes below or roll down to php 7.3ATVDevelopments wrote: ↑Tue Feb 16, 2021 7:23 amHere are screen images of what happens when an attempt is made to add an address.
In this case I'm using an ipad
https://github.com/opencart/opencart/co ... 224db82ce0
-
Backup and learn how to recover before you make any changes!
This has now solved my problem, Thank you for your supportsw!tch wrote: ↑Tue Feb 16, 2021 9:09 amApply the fixes below or roll down to php 7.3ATVDevelopments wrote: ↑Tue Feb 16, 2021 7:23 amHere are screen images of what happens when an attempt is made to add an address.
In this case I'm using an ipad
https://github.com/opencart/opencart/co ... 224db82ce0
-
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
Looks like your site still has display errors on. This can cause two issues. First it's a security risk. Second even a simple PHP notice will cause JSON responses to fail, as you have found out.ATVDevelopments wrote: ↑Wed Feb 17, 2021 5:16 pmThis has now solved my problem, Thank you for your support
To stop all errors being displayed you need to do all of the following.
1. Set the PHP display_errors setting to Off (or 0 or false). This may need to be done in you main php.in, local php.ini, user.ini, .htaccess or hosting control panel, depending on you hosting setup.
2. Set $_['error_display'] to false in you system/config/default.php file.
3. Set Display Errors to No in the OpenCart settings.
Thank you for that, I carried out those mods nowADD Creative wrote: ↑Thu Feb 18, 2021 8:38 amLooks like your site still has display errors on. This can cause two issues. First it's a security risk. Second even a simple PHP notice will cause JSON responses to fail, as you have found out.ATVDevelopments wrote: ↑Wed Feb 17, 2021 5:16 pmThis has now solved my problem, Thank you for your support
To stop all errors being displayed you need to do all of the following.
1. Set the PHP display_errors setting to Off (or 0 or false). This may need to be done in you main php.in, local php.ini, user.ini, .htaccess or hosting control panel, depending on you hosting setup.
2. Set $_['error_display'] to false in you system/config/default.php file.
3. Set Display Errors to No in the OpenCart settings.
I'm new to opencart, so basic best practices are just being learned as I go.
I don't have many custom extensions installed, just the Square payment ( square.ocmod.zip)
My site is https://www.atvdevelopments.co.uk
The opencart version is 3.0.3.6
Thanks
Users browsing this forum: vourlismenos and 30 guests