{"id":18429441,"date":"2025-04-22T12:37:18","date_gmt":"2025-04-22T12:37:18","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=18429441"},"modified":"2025-04-22T13:59:53","modified_gmt":"2025-04-22T13:59:53","slug":"woocommerce-mystery-prices-revert-stock-auto-restores-any-clues","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/woocommerce-mystery-prices-revert-stock-auto-restores-any-clues\/","title":{"rendered":"WooCommerce Mystery: Prices Revert, Stock Auto-Restores \u2013 Any Clues?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We run an online store built with WooCommerce using the latest version of the Woodmart theme. We\u2019ve created several store manager accounts, using a custom role cloned from the default Shop Manager role via the User Role Editor Pro plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this custom role, we have only restricted access to plugin\/theme installation and removal via the admin menu \u2014 no capabilities have been removed. These users can still access those pages directly via URL if needed. However, we are experiencing strange and inconsistent behavior that is causing serious issues:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When our users wich are administrator with restricted menu, update product prices or any content in products or pages or blog post and etc, sometimes the changes do not save or revert back to the previous value. or the page will clean and no content in it&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Occasionally, when a product is set to out of stock, it automatically becomes available again after 24 hours, with the price displayed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In some cases, when our team updates the product description or content, the changes get wiped after saving the page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are no scheduled actions, cron jobs, or cache purging rules that would explain this behavior, and it seems to happen at random.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our active plugins include:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>All-In-One Security (AIOS)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Contact Form 7<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Elementor<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Instant Indexing<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Interlinks Manager<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>LiteSpeed Cache (disabled means right now there is no cache in our site)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Permalink Manager Pro<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rank Math SEO + Rank Math SEO PRO<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>User Role Editor Pro<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>weLaunch Framework<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WooCommerce Group Attributes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Woodmart Core<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WP Mail SMTP<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>WooCommerce (latest version)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I saw this in your plugin: <strong>Firewall -&gt; PHP rules -&gt; WP REST API<\/strong> , Now I disabled all checkd Items here,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>I want to know is that related somehow to your security plugin?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: debug.log or error_log in cpanel dos not show anything related to this problem and I&#8217;m not sure is that related to you or  not,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP settings:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP max input variables:10000<br \/>PHP time limit:600<br \/>PHP memory limit:2000M<br \/>Max input time:1000<br \/>Upload max filesize:80M<br \/>PHP post max size:80M<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cpanel + Litespeed webserver &#8211; now cache is disabeld<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">nothing added to htaccess or wp-config.php file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">theme is updated to latest version , wordpress too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks<\/p>\n","protected":false},"template":"","class_list":["post-18429441","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18429441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18429441\/revisions"}],"predecessor-version":[{"id":18429615,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18429441\/revisions\/18429615"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18429441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}