Getting errors if "ref" column is NULL
-
Since this morning i have got weird erorrs complaining about database insert error when referer is empty like this:
Eroare baz? de date WordPress Column ‘ref’ cannot be null pentru interogarea INSERT INTO
wp_404_to_301
(date
,url
,ip
,ref
,ua
) VALUES (‘2015-12-12 18:34:59’, ‘/pagina-de-ajutor/’, ‘78.96.200.252’, NULL, ‘Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36’) efectuat? de require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, _404_To_301_Public->i4t3_redirect_404==== eng ====
Database error WordPress Column ‘ref’ cannot be null for query INSERT INTOwp_404_to_301
(
date,
url,
ip,
ref,
ua`) VALUES (‘2015-12-12 18:34:59’, ‘/pagina-de-ajutor/’, ‘78.96.200.252’, NULL, ‘Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36’) requested by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, _404_To_301_Public->i4t3_redirect_404This is happen if it hits direct a link that does not exist anymore ( via google search engine cache or bookmarked old link… etc ).
404-to-301 version si 2.0.9, my php version is 5.4.4-14+deb7u14 and mySql is 5.5.38
Thank you very much for your time
- The topic ‘Getting errors if "ref" column is NULL’ is closed to new replies.