• Resolved xperiment626

    (@xperiment626)


    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 to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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.

    Thread Starter xperiment626

    (@xperiment626)

    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; “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; “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.

    Thread Starter xperiment626

    (@xperiment626)

    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.

    Thread Starter xperiment626

    (@xperiment626)

    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.

    Thread Starter xperiment626

    (@xperiment626)

    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 👍

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘cannot edit stock’ is closed to new replies.