wpsnoop Function wc_update_product_stock() conflicts found in 2 plugins
A php function called wc_update_product_stock() is used in 2 wordpress plugins/themes and could produce a potential conflict if the wrong combination of themes and plugins is used on your site.
To prevent this from happening developers are encouraged to use namespaces and scopes that isolate their functions from colliding with other functions but this is not always done correctly.
We hope this reference helps you to find PHP Fatal error: Cannot redeclare wc_update_product_stock()
The following 2 plugins register a function called wc_update_product_stock():
Plugin |
---|
WooCommerce |
Norsani, The Multi-Vendor online Food Ordering System. |