Database Error wcpt_cleanup_sessions
-
2-3 times per day I get this in my PHP error log on a website that I am developing:
[27-Oct-2021 01:29:13 UTC] WordPress database error Table '..._wcpt_sessions' doesn't exist for query DELETE FROM ..._wcpt_sessions WHERE session_expiry < 1635298153 made by do_action_ref_array('wcpt_cleanup_sessions'), WP_Hook->do_action, WP_Hook->apply_filters, wcpt_cleanup_session_data, WCPT_Session_Handler->cleanup_sessions
It appears it is a function from this plugin that runs on a schedule produces this error. This could be avoided by simply adding a check if the Table exists before running the delete command.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Database Error wcpt_cleanup_sessions’ is closed to new replies.