Error
-
Hi Dovi
I uninstalled and reinstalled this plugin, I deleted all the users (56) and entered only two, finally I deleted all the categories, now I can’t enter any shifts and when I enter a holiday and press the “save changes” button, it appears the error below. How can i permanently reset this plugin and restart ??Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in C:\xampp\htdocs\my_site\wp-content\plugins\shift-schedule\libs\shift-schedule-setup.php:174 Stack trace: #0 C:\xampp\htdocs\my_site\wp-includes\class-wp-hook.php(294): shift_schedule_698_settings->sanitize(Array) #1 C:\xampp\htdocs\my_site\wp-includes\plugin.php(212): WP_Hook->apply_filters(Array, Array) #2 C:\xampp\htdocs\my_site\wp-includes\formatting.php(4907): apply_filters('sanitize_option...', Array, 'shift_schedule_...', Array) #3 C:\xampp\htdocs\my_site\wp-includes\option.php(369): sanitize_option('shift_schedule_...', Array) #4 C:\xampp\htdocs\my_site\wp-admin\options.php(314): update_option('shift_schedule_...', Array) #5 {main} thrown in C:\xampp\htdocs\my_site\wp-content\plugins\shift-schedule\libs\shift-schedule-setup.php on line 174
The topic ‘Error’ is closed to new replies.