Plugin Author
Mewz
(@mewz)
It sounds like you have a plugin causing an error somewhere, or your site’s REST API isn’t working properly. You’ll need to check your server logs. It’s not an issue with this plugin.
This free version of the plugin is the “lite” version. The “full” version must be purchased from CodeCanyon.
thanks for the response
in the logs I see this for two stock edits I tried to do. Is it something relevant?
dolina.sk 95.102.48.140 – – [10/Apr/2023:18:13:00 +0200] “POST /wp-json/mewz/wcas/stock/6710?_locale=user HTTP/2.0” 500 354 “https://dolina.sk/wp-admin/edit.php?post_type=mewz_attribute_stock” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0” 1.320 – 10.31.30.8:80 1.320 (W)
dolina.sk 95.102.48.140 – – [10/Apr/2023:18:13:04 +0200] “POST /wp-json/mewz/wcas/stock/6712?_locale=user HTTP/2.0” 500 354 “https://dolina.sk/wp-admin/edit.php?post_type=mewz_attribute_stock” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0” 1.243 – 10.31.30.8:80 1.242 (W)
Plugin Author
Mewz
(@mewz)
It looks like those requests are returning error 500.
Please go to WooCommerce > Status > Logs, and look for the latest “fatal-errors” log on the top-right.
I disable wpml multicurrency plugin and its working now.. thanks for your help.. im gonna get the full version of your plugin soon
Plugin Author
Mewz
(@mewz)
Thanks for the feedback. I’ll take a look to see if I can find why that plugin is causing an error.
it had something to do with nitropack and client currency language. I couldnt understand more. Nitropack is more usefull for me at the time thats why I decided to deactivate the wpml multicurrency plugin
Plugin Author
Mewz
(@mewz)
Was there an error in the log file? I’d be grateful if you could share it with me.
in the woocommerce fatal errors log I was getting this every minute repeating automaticaly during the whole day
2023-04-10T16:46:05+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-content/plugins/nitropack/classes/Integration/Plugin/WCML.php:70
Stack trace:
#0 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-includes/class-wp-hook.php(308): NitroPack\Integration\Plugin\WCML->wcml_set_custom_language_cookie('')
#1 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-content/plugins/woocommerce/includes/class-woocommerce.php(674): do_action('woocommerce_ini...')
#4 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-includes/class-wp-hook.php(308): WooCommerce->init('')
#5 /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-includes/class-wp-hook.php(332): WP_Hook->ap v /data/9/1/915cf69c-8aa6-4c53-9f5b-d5cd6c40d57d/dolina.sk/web/wp-content/plugins/nitropack/classes/Integration/Plugin/WCML.php na riadku 70
when I removed the wcmp multilingual/multicurrency plugin this error stopped appearing and editing stock count started working
Plugin Author
Mewz
(@mewz)
Ok I see. Thanks for providing this info, it’s appreciated 👍