biatsalu
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product info is not visible – only in adminThanks Rodelgc
In woocommerce > Includes > class-wc-shortcodes.php I entered the following code marked in red (https://i.imgur.com/oO3DkAU.png) Consulted here
Forum: Plugins
In reply to: [WooCommerce] Product info is not visible – only in adminSame Here..
I went to update woocommerce to the new version and the single product information no longer shows for those who don’t have a logged-in account.
Forum: Plugins
In reply to: [WooCommerce] API REST Woocommerce – JSON ERRORApparently, there is still the problem of json syntax error frequently, but it no longer gives curl limit error.
Any idea what it could be? I have all error_logs disabled, and the file I’m working on has no PHP error.
The woocommerce logs show the same error I see in the file I am running.
- This reply was modified 1 year, 8 months ago by biatsalu.
Forum: Plugins
In reply to: [WooCommerce] API REST Woocommerce – JSON ERRORFor those who have this kind of problems, my problem was solved by increasing the php resources:
max_execution_time I set it to 50000 and the memory_limit I set it to 2G, it never gave the error again.
It seems that the woocommerce api pulls a lot for resources and starts giving syntax errors out of nowhere. Because when it gives a Json error, it appears behind the curl error logs exceeded…
Forum: Plugins
In reply to: [WooCommerce] API REST Woocommerce – JSON ERRORHi,
After checking the woocommerce logs I get the same json syntax error every time and it’s not a problem with the php code going from the import.php file, because there are times when it works without giving any errors. We have the display_errors also disabled
2023-03-08T10:00:03+00:00 CRITICAL Uncaught Automattic\WooCommerce\HttpClient\HttpClientException: JSON ERROR: Syntax error in /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php:411 Stack trace: #0 /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php(455): Automattic\WooCommerce\HttpClient\HttpClient->processResponse() #1 /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/Client.php(69): Automattic\WooCommerce\HttpClient\HttpClient->request() #2 /media/servidordev/www/SITEXPTO/import/import.php(584): Automattic\WooCommerce\Client->put() #3 /media/servidordev/www/SITEXPTO/import/import.php(640): update_produto() #4 /media/servidordev/www/SITEXPTO/import/import.php(681): import_produtos() #5 /media/servidordev/www/SITEXPTO/import/import.php(708): run_import() #6 {main} thrown em /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php na linha 411 2023-03-08T13:00:04+00:00 CRITICAL Uncaught Automattic\WooCommerce\HttpClient\HttpClientException: JSON ERROR: Syntax error in /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php:411 Stack trace: #0 /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php(455): Automattic\WooCommerce\HttpClient\HttpClient->processResponse() #1 /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/Client.php(69): Automattic\WooCommerce\HttpClient\HttpClient->request() #2 /media/servidordev/www/SITEXPTO/import/import.php(584): Automattic\WooCommerce\Client->put() #3 /media/servidordev/www/SITEXPTO/import/import.php(640): update_produto() #4 /media/servidordev/www/SITEXPTO/import/import.php(681): import_produtos() #5 /media/servidordev/www/SITEXPTO/import/import.php(708): run_import() #6 {main} thrown em /media/servidordev/www/SITEXPTO/import/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php na linha 411
Forum: Plugins
In reply to: [Variation Images Gallery for WooCommerce] Gallery Breaks Product PagesI still couldn’t find out what the reason is, because it doesn’t happen with all variable products, but it happens with this one.
And when I show the errors, no fatal error is shown, only 3 notices of other plugins that I have already disabled and the same problem continued, only by disabling this plugin the page is working.
Neither header and body contents appear, as you can see in the link I sent in the comment above.
But it seems that out of nowhere it started working.
Obrigado Marco.
Hi,
I changed it and it works now! Thank you for your support!
Best Regard.
Hi,
Thanks for answering.Do not have the desired url, and there is no url with get Data:
But yes Post, because I have a text area field that I have to by Date: 22/05/2020 (it is copied from another text), to save in the database and the wordfence blocks due to the word Data:Is there no other way to put this word on a whitelist or something similar?
Hi @wfgerald
I changed it to what you asked for and now it works.
What is the difference from “Enabled and Activated” to the one that asked me to change?Best Regards.