ERROR
-
Hi, I had installed and happily using this plugin, but for some reasons I had to reset user capacity roles to default, and I did that, since then the plugin is crashing.
Error I am getting are as follows, (I am not a tech guy at all, this is just for your reference)“This plugin failed to load properly and is paused during recovery mode.
An error of type E_ERROR was caused in line 18 of the file /var/www/html/wp-content/plugins/order-hours-scheduler-for-woocommerce/setting/setting.php. Error message: Uncaught Error: Call to a member function add_cap() on null in /var/www/html/wp-content/plugins/order-hours-scheduler-for-woocommerce/setting/setting.php:18 Stack trace: #0 [internal function]: Zhours\Setup->Zhours\{closure}(‘shop_manager’, 0) #1 /var/www/html/wp-content/plugins/order-hours-scheduler-for-woocommerce/setting/setting.php(19): array_walk(Array, Object(Closure)) #2 /var/www/html/wp-includes/class-wp-hook.php(286): Zhours\Setup->Zhours\{closure}(”) #3 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /var/www/html/wp-settings.php(525): do_action(‘init’) #6 /var/www/html/wp-config.php(66): require_once(‘/var/www/html/w…’) #7 /var/www/html/wp-load.php(37): require_once(‘/var/www/html/w…’) #8 /var/www/html/wp-admin/admin.php(34): require_once(‘/var/www/html/w…’) #9 /var/www/html/wp-admin/plugins.php(10): require_once(‘/var/www/html/w…’) #10 {main} thrown”
Would be great if you can help me with this
- The topic ‘ERROR’ is closed to new replies.