“Failed to insert log entry:” with no message in error_log
-
I’m seeing many messages in error_log with “Failed to insert log entry:”, but no error message afterwards.
I’ve tracked down the string to lines 135-136 of core/lib/log.php:
error_log( "Failed to insert log entry: {$wpdb->last_error}" );
return new WP_Error( 'itsec-log-failed-db-insert', sprintf( esc_html__( 'Failed to insert log entry: %s', 'better-wp-security' ), $wpdb->last_error ) );
Now I know there’s a problem, but I don’t know what it is…
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘“Failed to insert log entry:” with no message in error_log’ is closed to new replies.