Clock in portal Critical error
-
Hi,
We just updated the plugin to the latest and suddenly all the staff is getting this error, only on the dashboard. Reports, holidays etc are working fine and showing. they just cannot see the dashboard, where they have to clock in and clock out.There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.
We tried everything disabling other plugins, disabling the theme and going to default theme, increasing PHP memory, nothing works.
After debugging we found these errors
Warning: Undefined array key "start_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/inc/custom_function.php on line 50 Warning: Undefined array key "end_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/inc/custom_function.php on line 51 Warning: Undefined array key "start_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/inc/custom_function.php on line 57 Warning: Undefined array key "start_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/subscribers/staff-attendance.php on line 86 Warning: Undefined array key "start_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/subscribers/staff-attendance.php on line 125 Warning: Undefined array key "end_date" in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/subscribers/staff-attendance.php on line 126 Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/subscribers/staff-attendance.php:139 Stack trace: #0 /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/clock-in-portal.php(252): require() #1 /var/www/vhosts/gadgetbridge.com/httpdocs/wp-includes/class-wp-hook.php(307): cip_subscribers_staff_attendance_free() #2 /var/www/vhosts/gadgetbridge.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /var/www/vhosts/gadgetbridge.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /var/www/vhosts/gadgetbridge.com/httpdocs/wp-admin/admin.php(259): do_action() #5 {main} thrown in /var/www/vhosts/gadgetbridge.com/httpdocs/wp-content/plugins/clock-in-portal/subscribers/staff-attendance.php on line 139
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Clock in portal Critical error’ is closed to new replies.