Error Caused by Not using the database prefix set in wp-config
-
Hi,
After updating to the 1.0.0 version of the plugin, I noticed that the plugin is triggering errors causing an error_log file to be created at the root of sites with this kind of error:
[23-May-2014 04:34:16 UTC] Erreur de la base de données WordPress Table ‘webfocus_wfd.wp_wsal_occurrences’ doesn’t exist pour la requête
SELECT * FROMwp_wsal_occurrences
… etc.
faite par wp_signon, wp_authenticate, do_action(‘wp_login_failed’), call_user_func_array, WSAL_Sensors_LogInOut->EventLoginFailure, WSAL_DB_ActiveRecord::LoadMultiQuerySome part of the code is calling this select statement using “wp_wsal_occurrences” as the table name but on all of my sites I define a different table prefix in wp-config as it is a security best practice but that code is not using the wp-config defined table prefix value so the statement fails and the code errors out as the table does exist but not with that name. The error log does not specify what file or line the error occurs at.
- The topic ‘Error Caused by Not using the database prefix set in wp-config’ is closed to new replies.