Title: cannot edit stock
Last modified: April 9, 2023

---

# cannot edit stock

 *  Resolved [xperiment626](https://wordpress.org/support/users/xperiment626/)
 * (@xperiment626)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/)
 * Hi,
 * in the product/attribute stock part of my site`s admin I can see all the variations
   I use but cannot edit number of the stock or add/subtract stock either. When 
   I try to edit it changes back to previous number after about a second.</p> <p
   >Do you please know what could be the issue?</p> <p>Also I have no idea if I`
   m using lite or regular version as it is a bit confusing to me which one it is.
 * thanks
 * Boris
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-edit-stock%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Mewz](https://wordpress.org/support/users/mewz/)
 * (@mewz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16640539)
 * 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.
 *  Thread Starter [xperiment626](https://wordpress.org/support/users/xperiment626/)
 * (@xperiment626)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642343)
 * 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&#8221](https://dolina.sk/wp-admin/edit.php?post_type=mewz_attribute_stock&#8221);“
   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&#8221](https://dolina.sk/wp-admin/edit.php?post_type=mewz_attribute_stock&#8221);“
   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](https://wordpress.org/support/users/mewz/)
 * (@mewz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642349)
 * 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.
 *  Thread Starter [xperiment626](https://wordpress.org/support/users/xperiment626/)
 * (@xperiment626)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642427)
 * 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](https://wordpress.org/support/users/mewz/)
 * (@mewz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642432)
 * Thanks for the feedback. I’ll take a look to see if I can find why that plugin
   is causing an error.
 *  Thread Starter [xperiment626](https://wordpress.org/support/users/xperiment626/)
 * (@xperiment626)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642587)
 * 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](https://wordpress.org/support/users/mewz/)
 * (@mewz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642732)
 * Was there an error in the log file? I’d be grateful if you could share it with
   me.
 *  Thread Starter [xperiment626](https://wordpress.org/support/users/xperiment626/)
 * (@xperiment626)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642749)
 * in the woocommerce fatal errors log I was getting this every minute repeating
   automaticaly during the whole day
 *     ```wp-block-code
       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](https://wordpress.org/support/users/mewz/)
 * (@mewz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642852)
 * Ok I see. Thanks for providing this info, it’s appreciated 👍

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘cannot edit stock’ is closed to new replies.

 * ![](https://ps.w.org/attribute-stock-for-woocommerce/assets/icon-256x256.gif?
   rev=3106385)
 * [Attribute Stock for WooCommerce - Shared Stock & Variable Quantities (Lite Version)](https://wordpress.org/plugins/attribute-stock-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/attribute-stock-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/attribute-stock-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/attribute-stock-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/attribute-stock-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/attribute-stock-for-woocommerce/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Mewz](https://wordpress.org/support/users/mewz/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-stock/#post-16642852)
 * Status: resolved