I came across this log on a v1.5.4 site today, issued on the create_account.php module's zen_db_perform call to create the customers-table record:
Code:
[04-Feb-2016 08:47:34 America/Chicago] PHP Fatal error: 1048:Column 'customers_lastname' cannot be null :: INSERT INTO customers (customers_firstname, customers_lastname, customers_email_address, customers_nick, customers_telephone, customers_fax, customers_newsletter, customers_email_format, customers_default_address_id, customers_password, customers_authorization) VALUES ('firstname', null, '[email protected]', '', '', '', '0', 'TEXT', '0', 'cdd9992bfad12df31a8a216826231b05:40', '0') ==> (as called by) /home/site_name/www/www/includes/functions/functions_general.php on line 1017 <== in /home/site_name/www/www/includes/classes/db/mysql/query_factory.php on line 155
Based on the customer's email address being [email protected], I'm assuming that his last name is Null and that the string-handling in the zen_db_perform function is "over-handling" his name.
Bookmarks