Page 1 of 1

Customer data problem

Posted: Thu Mar 19, 2026 7:02 am
by whitejoe34
Hello everyone, I have the following problem.
I can register and log in to the shop. However, when I go to the account details at account_edit.php, the form fields are empty. At address_book.php, no default address is displayed either, and I cannot edit the address book entry. Everything is displayed in the admin panel, though. When I view $customer, I get the following:

Code: Select all

customer Object ( [id:customer:private] => 13 [data:customer:private] => Array ( [0] => Array ( [firstname] => [lastname] => [name] => [country_id] => [short_name] => ) ) [unpersisted:customer:private] => Array ( ) ) 
I have: Installed version: CE Phoenix v1.1.0.6 / PHP 8.3

Does anyone have any idea what might be causing this?
Many thanks!

Re: Customer data problem

Posted: Thu Mar 19, 2026 10:46 am
by burt
For some reason the Customer Object is empty.

What changes have you made, if any, in and around any areas to do with Csutomers? EG have you installed some extra Customer Data Modules? Installed some sort of guest account or password addons?

Does Customer 13 have any missing data in the customers table, or in the customers_info table ?

Make a NEW customer on create_account.php and go to account_edit.php - same problem?

Re: Customer data problem

Posted: Thu Mar 19, 2026 12:13 pm
by whitejoe34
I haven’t installed any add-ons for customer data. However, I did remove the ‘State’ field. I’ve now re-added it, but the error persists. As far as I can tell, everything looks fine in the database.
The address book entries are also displayed, but I can’t edit them and there is no default address.
The entries are present in the Address_book table, and the default address ID is set correctly in the Customers table.

When I create a new customer, I encounter exactly the same problem.

Re: Customer data problem

Posted: Thu Mar 19, 2026 12:21 pm
by burt
You might install a test shop (in other words, something clean) and see if same occurs.
Then add things (addons, language, hooks, whatever) one by one, testing as you go.