Fatal Error on Employee Profile Page
-
Activated the plugin, and upon visiting the employee profile page receive a fatal error:
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character in /wp-content/plugins/aio-time-clock-lite/aio-time-clock-lite-actions.php:365 Stack trace:
#0 /wp-content/plugins/aio-time-clock-lite/aio-time-clock-lite-actions.php(365): DateTime->__construct(‘@’)
#1 /wp-content/plugins/aio-time-clock-lite/aio-employee-profile.php(85): AIO_Time_Clock_Lite_Actions->secondsToTime(false)
#2 /wp-content/plugins/aio-time-clock-lite/aio-time-clock-lite-actions.php(216): require_once(‘/home/187420.cl…’)
#3 /wp-includes/shortcodes.php(325): AIO_Time_Clock_Lite_Actions->show_aio_employee_profile_lite(”, ”, ‘show_aio_employ…’)
#4 [internal function]: do_shortcode_tag(Array)
#5 /home/187420.cloudwaysapp in /wp-content/plugins/aio-time-clock-lite/aio-time-clock-lite-actions.php on line 365This happens if you view the employee page before a time record has been recorded.
- The topic ‘Fatal Error on Employee Profile Page’ is closed to new replies.