Hi, I have a similar problem. Zen Cart 1.5.7b, PHP Version: 7.4.7, MySQL 5.6.51. The store is working but today I found that customers list do not appear in admin panel. Instead comes message: Customers. WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
myDEBUG-adm says:
[14-Feb-2021 11:09:37 UTC] Request URI: /sssss/index.php?cmd=customers, IP address: 212.5.158.109
#1 trigger_error() called at [/storage/eeeee/public_html/includes/classes/db/mysql/query_factory.php:170]
#2 queryFactory->show_error() called at [/storage/ eeeee /public_html/includes/classes/db/mysql/query_factory.php:142]
#3 queryFactory->set_error() called at [/storage/ eeeee /public_html/includes/classes/db/mysql/query_factory.php:269]
#4 queryFactory->Execute() called at [/storage/ eeeee /public_html/sssss/customers.php:1236]
#5 require(/storage/ eeeee /public_html/ sssss /customers.php) called at [/storage/ eeeee /public_html/ sssss /index.php:11]
--> PHP Fatal error: 1054:Unknown column 'c.customers_secret' in 'field list' :: SELECT c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, c.customers_group_pricing, c.customers_telephone, c.customers_authorization, c.customers_referral, c.customers_secret, a.entry_country_id, a.entry_company, a.entry_company, a.entry_street_address, a.entry_city, a.entry_postcode, ci.customers_info_date_of_last_logon, ci.customers_info_date_account_created , cgc.amount FROM zen_customers c LEFT JOIN zen_customers_info ci ON c.customers_id= ci.customers_info_id LEFT JOIN zen_address_book a ON c.customers_id = a.customers_id AND c.customers_default_address_id = a.address_book_id LEFT JOIN zen_coupon_gv_customer cgc ON c.customers_id = cgc.customer_id ORDER BY ci.customers_info_date_account_created DESC limit 0, 20 ==> (as called by) /storage/ eeeee /public_html/ sssss /customers.php on line 1236 <== in /storage/ eeeee /public_html/includes/classes/db/mysql/query_factory.php on line 170.
sssss is admin
Any help to solve this please!