Forum Replies Created
-
AuthorPosts
-
You may close it
Thank you Ismael.
With your suggestion it got me to look at the .htaccess file. I found this line of code at the top of the file with has our url and our staging site url in it, I commented this out and the cart began to work on Mobile again. To test it, I uncommented it and reloaded and got the empty cart issue, commented it once again, reloaded, and the cart appeared once again. It seems that commenting this line of code out fixes that issue.
# BEGIN GD-SSL <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_USER_AGENT} ^(.+)$ RewriteCond %{SERVER_NAME} ^migdaliapace\.com$ [OR] RewriteCond %{SERVER_NAME} ^fa4\.myftpupload\.com$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Header add Strict-Transport-Security "max-age=300" Header always set Content-Security-Policy "upgrade-insecure-requests" </IfModule> # END GD-SSL
- This reply was modified 4 years, 5 months ago by darrenpace.
Thank you for the update.
We have deactivated it, but for some reason still experiencing the error, but this time with stripe being deactivated, we are producing this error in our WooCommerce logs pointing at Enfold files.
2020-06-12T13:42:32+00:00 CRITICAL Uncaught Error: Cannot use string offset as an array in /var/www/wp-content/themes/enfold/config-woocommerce/config.php:1596 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(287): avia_woocommerce_ajax_search_params('Aumberposts=5&p...') #1 /var/www/wp-includes/plugin.php(206): WP_Hook->apply_filters('numberposts=5&p...', Array) #2 /var/www/wp-content/themes/enfold/functions-enfold.php(309): apply_filters('avf_ajax_search...', 'numberposts=5&p...') #3 /var/www/wp-includes/class-wp-hook.php(287): avia_ajax_search('') #4 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #5 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /var/www/wp-admin/admin-ajax.php(190): do_action('wp_ajax_nopriv_...') #7 {main} thrown in /var/www/wp-content/themes/enfold/config-woocommerce/config.php on line 1596
That line points to this foreach:
foreach( $tax_query as $value ) { $params['tax_query'][] = $value; }
Could this be related?
- This reply was modified 4 years, 5 months ago by darrenpace.
Hello Ismael,
I added a have checked on my phone and I am not blocking cookies. This seems to be an issue with multiple customers all on mobile so I wouldn’t think they all would have cookies disabled.
My Attempt:
I enabled the cookie bar and cleared the cache, I then cleared my cookies in my iPhone settings and attempted again to add to the cart, the first time works (as usual) but then any other additional product I add, clears the cart, only on the /cart/ page, but everything still remains in the cart in the main menu.Just checking in to see if there is any movement on this ticket? The issue is still not resolved.
Victoria,
I disabled Wordfence, CSS and JavaScript Merging and I cleared the cache after, still not working properly. I also just updated to the latest release of Enfold.
It is not working for me on an iPhone w/ the Chrome Browser App to give you more information. Sometimes I can get an item to show in the cart and when I get that to happen I can get to the checkout (this doesn’t happen every time), but when I tested this time, I added a product to the cart and it worked, but when I added a second item into the cart it got rid of the first item and replaced it with the newer item. Then I tried to add another item to see if I could repeat it and it ended up removing both items.
EDIT*: Also not working on iOS Edge or Safari
Thanks,
Darren- This reply was modified 4 years, 6 months ago by darrenpace.
This reply has been marked as private. -
AuthorPosts