Save Changes on Settings are not working
-
Even though I try to change any setting, on setting page,
it couldn’t be saved, due to this message:
Sorry, there has been an error.
-
Can you open the browser console and look for an error from your server? You need to find something like this: http://woopos.com.au/wp-content/uploads/2015/06/console.png
More than likely it is a server error, which outputs an error to the ajax rather than the expected success message.
It’s possible that your server does not support HTTP methods for RESTful services (such as the WooCommerce REST API). To check you could go to https://www.hurl.it/ and try a PUT request with your WC REST API endpoint, ie: yourdomain.com/wc-api/v2/
If that returns an Internal Server Error you will have to speak to your host about turning on HTTP methods.
This is only a guess at this stage. I will be able to help you more if you can track down an error message as described above.
I am also now having this issue after upgrading
Hi There,
Everything worked perfectly before the upgrade, now unable to save settings. Not sure what to do.
Any help would be highly appreciated. AM happy to create a temp login for you to check it.
Looking forward to your response.
Kind Regards,
Jeasy
Version 0.3.x did not make use of the full REST APi methods, eg: PUT, DELETE. The PUT method allows updating of POS settings but also the editing of products, customers and orders. It is an important part of how the POS works going forward.
I can include a compatibility test to check if your server is compatible but WooCommerce POS relies on the REST API and therefore depends on RESTful HTTP Methods going forward.
If you are experiencing these problems you could either:
- update your server settings to allow RESTful HTTP Methods
- rollback to 0.3.x: https://wordpress.org/plugins/woocommerce-pos/developers/
Hi,
If you can include a compatibility test as mentioned, that would be cool. I just checked and under Woocommerce settings, the Rest API is enabled.
Gonna roll back for now.
@ jeasysehgal, you may have the REST API enabled but if your server does not support the HTTP Methods then WooCommerce POS version 0.4 and higher will not work.
@pearwcz, @chrisorah, @jeasysehgal please contact me via support@woopos.com.au if you haven’t already. If you can create a temp login for me I will take a look and let you know.
I’ve had a few similar issues that are just plugin conflicts so I won’t know for sure until I see the error message.
For some users this problem is due to a conflict with the WP Clef plugin. I have raised the issue with the Clef developers and hopefully they will release a fix soon. You can follow the progress here: https://github.com/clef/clef-wordpress/issues/210
In the meantime, if you have WP Clef plugin activated you will not be able to save the POS settings.
An option to use legacy HTTP methods has been added to version 0.4.1, please enable this option if you are having problems saving the settings.
This emulation method didn’t work for me. I still can’t save settings.
Restore Defaults works fine.
Hi Henri, can you contact me through the support email with a temp admin account so I can take a look?
Hi Henri, I’ll post my response here just in case others are having this problem.
In this case the save settings error is due to a conflict with Polylang, I have notified the authors about the problem.
I got this resposne from my server support
the PUT request is not enabled on the server. According to my Tier II support restful HTTP methods isn’t something that’s activated or anything, it’s just how something calls to the server. But the issue may be that PUT is not enabled. As this account is on a shared server, this cannot be enabled.
is there another option to change settings manually ?
@igadgets please go to WP Admin > POS > Settings > Tools > Enable legacy server support
The topic ‘Save Changes on Settings are not working’ is closed to new replies.