Title: Fatal error while activating plugin
Last modified: October 16, 2019

---

# Fatal error while activating plugin

 *  [drone4pro](https://wordpress.org/support/users/dronedepot/)
 * (@dronedepot)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-7/)
 * I get this fatal error when I try to activate this plugin.
 * Fatal error: Uncaught Error: Call to undefined method WC_Custom_Stock_status::
   init() in /www/dronedepot_765/public/wp-content/plugins/wc-custom-stock-status/
   wc-custom-stock-status.php:360 Stack trace: #0 /www/dronedepot_765/public/wp-
   admin/includes/plugin.php(2141): include() #1 /www/dronedepot_765/public/wp-admin/
   plugins.php(175): plugin_sandbox_scrape(‘wc-custom-stock…’) #2 {main} thrown 
   in /www/dronedepot_765/public/wp-content/plugins/wc-custom-stock-status/wc-custom-
   stock-status.php on line 360
 * Clered cache, disabled cache…

The topic ‘Fatal error while activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-custom-stock-status_eab961.svg)
 * [WooCommerce Custom Stock Status](https://wordpress.org/plugins/wc-custom-stock-status/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-custom-stock-status/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-custom-stock-status/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-custom-stock-status/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-custom-stock-status/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [drone4pro](https://wordpress.org/support/users/dronedepot/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-7/)
 * Status: not resolved