Piotr Szcze?niak
Forum Replies Created
-
hi @missundaztood,
thanks! it seems to be working as expected.
I will apply the same rule to other products and see if that works too.
hey @missundaztood,
I didn’t know how to attach a screenshot so I recorded a video: https://www.loom.com/share/c9c500da232c4e7f9c4c3973ec905784. Hope it will be enough to spot the issue.
The exemplary activity link: https://bumperball.pl/experiences/bubble-football-dla-krakusow/
Cheers!
- This reply was modified 3 years ago by Piotr Szcze?niak.
I will check it locally and see if that works.
@mateuszgbiorczyk – that was sweaty!
Lucky me I have a backup on local so I quickly uploaded wp-confing and .htaccess and site is running again.
Anyideas what could cause the crash?
Hello @mateuszgbiorczyk,
Currently I have set “via .htaccess (recommended)” as the image loading mode.
At the moment I even get the fatal error ?? :
Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /home/users/allboards/public_html/lavagne-magnetiche/wp-admin/admin.php:36 Stack trace: #0 /home/users/allboards/public_html/lavagne-magnetiche/wp-admin/plugins.php(10): require_once() #1 {main} thrown in /home/users/allboards/public_html/lavagne-magnetiche/wp-admin/admin.php on line 36
Somehow my wp-config and .htaccess are empty.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce and Plentymarkets connection issuesYes, I solved the problem. It was neither Woo nor Plenty plugin. It was the OVH shared hosting plan blocking ‘write’ API calls.
Thanks for your help as it was useful to determine where potentially problem was burried.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce and Plentymarkets connection issuesHello!
I contacted PlentyMarkets devs and got a reply – see below what they found out:
<<–
For shop https://lavagne-magnetiche.it , the GET calls work perfectly , but whenever we are trying to send stock via a PUT call with stock_quantity, we get a HTTP 403 Forbidden code. I think that either the wordpress or the server are configured to decline PUT calls, or something similar.Here is a log of one of our stock calls (I just removed from it the value of the client key and secret)
Details of the error:
` PUT /wp-json/wc/v2/products/9909/?consumer_key=xxxxxxxxxxxxxxxx&consumer_secret=xxxxxxxxxxxxxx HTTP/1.1 Content-Type: application/json Authorization: Basic Y2tfYjk0NmM0YjVlNTI0NWM5Mjc1MmM2N2QxNjUwN2U5YzM0Zjc0MmYxZjpjc19kZTFhNmQ4ZTJmMTUwMzNiZTg5OWVlMGZjNmQwY2JmZmQyMWE3ODVj User-Agent: PostmanRuntime/7.28.4 Accept: */* Cache-Control: no-cache Postman-Token: 7daaebd0-5955-4c6d-8b86-44459e78c3a3 Host: lavagne-magnetiche.it Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Length: 21 {“stock_quantity”:21}
HTTP/1.1 403 Forbidden
Date: Mon, 27 Sep 2021 08:40:57 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 199
Connection: keep-alive
Server: Apache
–>>Is there anything blocking in WooCommerce, WordPress and I can change it in files?
Or, is it more on domain / server side?Any clues?
Thanks!
Hi Tomas, thanks a lot for checking this out.
As it turned out the Plentymarkets platform also has its own plugins – what I wasn’t aware of – that need to be updated. The plugin to utilize Woocommerce API was outdated and update to the latest version solved the issue.
Thank you once again!
Hello,
Plentymarkets uses Read/Write Woocommercer REST API.
We don’t have any logs on Plentymarkets.Here’s a description of the connection between Plentymarkets and Woocommerce: https://marketplace.plentymarkets.com/en/woocommerce_5102.
Any ideas?