Page 1 of 2

Customers Edit not working

Posted: Wed May 04, 2022 4:46 am
by radhavallabh
Hi;
I am using 1.0.8.14, and the customers edit seems to be working till 1.0.8.12 all fine;
But now When I click on a customer in admin, It does not display the details, neither on clicking edit it displays the details of the customer.
Can you please help to determine the issue as no error is thrown in the php log file;

Thank you in advance;
Very warm Regds./
radhavallabh

Re: Customers Edit not working

Posted: Wed May 04, 2022 8:54 am
by radhavallabh
Attaching screenshot of the page that appears when I click edit-
Screenshot 2022-05-04 at 14-23-21 CE Phoenix Cart Administration Tool.png

Re: Customers Edit not working

Posted: Wed May 04, 2022 9:03 am
by heatherbell
radhavallabh wrote: Wed May 04, 2022 4:46 am I am using 1.0.8.14, But now When I click on a customer in admin, It does not display the details, neither on clicking edit it displays the details of the customer.
There is no issue on a clean 1.0.8.14 or an updated 1.0.8.14 so maybe check you have updated correctly.

Re: Customers Edit not working

Posted: Wed May 04, 2022 9:26 am
by radhavallabh
heatherbell wrote: Wed May 04, 2022 9:03 am
radhavallabh wrote: Wed May 04, 2022 4:46 am I am using 1.0.8.14, But now When I click on a customer in admin, It does not display the details, neither on clicking edit it displays the details of the customer.
There is no issue on a clean 1.0.8.14 or an updated 1.0.8.14 so maybe check you have updated correctly.
Thank you for your valued reply dear;
I reuploaded the customers.php file but still no avail, Does not display information on the admin side for any customer...
Can you suggest which other files I should re-upload to make sure that I did not miss out on any...

Thank you again in advance;
Warm Regds./
radhavallabh

Re: Customers Edit not working

Posted: Wed May 04, 2022 9:34 am
by heatherbell
radhavallabh wrote: Wed May 04, 2022 9:26 am Can you suggest which other files I should re-upload to make sure that I did not miss out on any...
I can only suggest checking the files in the updates since 1.0.8.12

Re: Customers Edit not working

Posted: Wed May 04, 2022 9:50 am
by radhavallabh
heatherbell wrote: Wed May 04, 2022 9:34 am
radhavallabh wrote: Wed May 04, 2022 9:26 am Can you suggest which other files I should re-upload to make sure that I did not miss out on any...
I can only suggest checking the files in the updates since 1.0.8.12
Hi dear;
I went through the files again but nothing seems out of place...
To try understand more about the issue I added a admin comment on the customers.php edit page (Although none other fields were displaying like in my screenshot)
I get below error-
Notice: Undefined index: country_id in /xx/includes/modules/customer_data/cd_country.php on line 148

Fatal error: Uncaught TypeError: Argument 1 passed to Text::input() must be of the type string, null given, called in xx/includes/modules/customer_data/cd_country.php on line 148 and defined in /xx/includes/system/versioned/1.0.8.2/text.php:34 Stack trace: #0 /xx/includes/modules/customer_data/cd_country.php(148): Text::input(NULL) #1 /xx/includes/system/versioned/1.0.5.6/requirements_manager.php(37): cd_country->process(Array) #2 /xx/includes/system/versioned/1.0.5.6/requirements_manager.php(65): requirements_manager->act_on(Object(cd_country), 'process', Array) #3 /xx/admin/includes/actions/customers/update.php(14): requirements_manager->process(Array) #4 /xx/includes/system/versioned/1.0.8.2/text.php on line 34

Can this help identify the real bug I am facing dear??

Re: Customers Edit not working

Posted: Wed May 04, 2022 9:56 am
by radhavallabh
heatherbell wrote: Wed May 04, 2022 9:34 am
radhavallabh wrote: Wed May 04, 2022 9:26 am Can you suggest which other files I should re-upload to make sure that I did not miss out on any...
I can only suggest checking the files in the updates since 1.0.8.12
One more strange thing dear beside every customer in infobox it is showing 'Number of Reviews: 1' where as some of the customers have not added a review.
So am feeling a little lost on what may have gone wrong...

Re: Customers Edit not working

Posted: Wed May 04, 2022 10:06 am
by radhavallabh
radhavallabh wrote: Wed May 04, 2022 9:56 am
heatherbell wrote: Wed May 04, 2022 9:34 am
radhavallabh wrote: Wed May 04, 2022 9:26 am Can you suggest which other files I should re-upload to make sure that I did not miss out on any...
I can only suggest checking the files in the updates since 1.0.8.12
This is occurring even on default install of 1.0.8.14 -
Beside every customer in infobox it is showing 'Number of Reviews: 1' where as some of the customers have not added a review.

Re: Customers Edit not working

Posted: Wed May 04, 2022 11:59 am
by radhavallabh
I was finally able to fix it by uninstalling and re-installing all the customer data modules!!
Thank you for all help dear @heatherbell

Just one issue

Even the default installs of 1.0.8.14 on localhost or live show 'Number of Reviews: 1' on each selected customer on customers.php in admin - although the selected customers have not posted any review.

Is there a fix for it?? Or does it need to be reported to dear @ecartz for further analyses...

Thank you very much in advance;
Very Warm Regds./
radhavallabh

Re: Customers Edit not working

Posted: Wed May 04, 2022 12:06 pm
by heatherbell
radhavallabh wrote: Wed May 04, 2022 11:59 am Even the default installs of 1.0.8.14 on localhost or live show 'Number of Reviews: 1' on each selected customer
I also see that on 1.0.8.8 but I have no 'fix'.