ioan1iuga Posted September 15, 2015 Share Posted September 15, 2015 Hi, I had some trouble with the shop email lately and I asked Bluehost to check it out for me. They opened a ticket and said the problem will be solved in a couple of days. Two days after, customer service in BO cannot be accessed anymore. Every time I click on it I get this code: [PrestaShopException]Property CustomerMessage->message is emptyat line 881 in file classes/ObjectModel.php 876.877. $message = $this->validateField($field, $this->$field);878. if ($message !== true)879. {880. if ($die)881. throw new PrestaShopException($message);882. return $error_return ? $message : false;883. }884. }885. 886. return true; ObjectModelCore->validateFields - [line 245 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 469 - classes/ObjectModel.php] ObjectModelCore->add - [line 1037 - controllers/admin/AdminCustomerThreadsController.php] AdminCustomerThreadsControllerCore->syncImap - [line 887 - controllers/admin/AdminCustomerThreadsController.php] AdminCustomerThreadsControllerCore->renderProcessSyncImap - [line 221 - controllers/admin/AdminCustomerThreadsController.php] AdminCustomerThreadsControllerCore->renderList - [line 2015 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 455 - controllers/admin/AdminCustomerThreadsController.php] AdminCustomerThreadsControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] My Prestashop version is 1.6.1.0. Can anyone help, please? Thanks in advance! Link to comment Share on other sites More sharing options...
cristic Posted September 15, 2015 Share Posted September 15, 2015 Check in your table ps_customer_message - for an empty "message" field. You can use this query from PhpMyAdmin: select * from ps_customer_message where message is null or message = ''; You need to add something there, so it will not be empty anymore. Any text will do (even a single space). 1 Link to comment Share on other sites More sharing options...
ioan1iuga Posted September 15, 2015 Author Share Posted September 15, 2015 Hi Cristi, Thank you for your reply. So I entered the query above and the answer is MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0022 sec ) Where exactly should I enter the space or text? Link to comment Share on other sites More sharing options...
ioan1iuga Posted September 15, 2015 Author Share Posted September 15, 2015 I just upgraded to 1.6.1.1 and the error still appears but it has changed a bit: Property CustomerMessage->message is emptyat line 909 in file classes/ObjectModel.php Link to comment Share on other sites More sharing options...
mdonnelly Posted September 28, 2015 Share Posted September 28, 2015 Has anyone found a resolution to this issue? [PrestaShopException]Property CustomerMessage->message is emptyat line 909 in file classes/ObjectModel.php 904. }905.906. $message = $this->validateField($field, $this->$field);907. if ($message !== true) {908. if ($die) {909. throw new PrestaShopException($message);910. }911. return $error_return ? $message : false;912. }913. }914. Link to comment Share on other sites More sharing options...
hasniou Posted December 21, 2015 Share Posted December 21, 2015 Hello, have you solved this problem ? i have the same. Link to comment Share on other sites More sharing options...
boratoclothing Posted March 1, 2016 Share Posted March 1, 2016 (edited) Hi, I have the same problem and attached the screen shot for reference. Am not techie and don't know how to work in codes. Can any one help me to solve this issue. When i click email, am getting this error message. Have this error after when i try to configure IMAP email for my store. Please give me the solution to this urgently, thanks. Edited March 2, 2016 by boratoclothing (see edit history) Link to comment Share on other sites More sharing options...
boratoclothing Posted March 2, 2016 Share Posted March 2, 2016 Hi ndiaga Noted, i removed the screen shot. Do you have any solution for my issue. Please help. Link to comment Share on other sites More sharing options...
khumair Posted July 21, 2016 Share Posted July 21, 2016 Hi I have the same problem.. Any of you got how to solve this problem ? Link to comment Share on other sites More sharing options...
imugur Posted October 26, 2016 Share Posted October 26, 2016 I also have this error. did you manage to fix it? can you please tell how? putting it to false is not fixing it Link to comment Share on other sites More sharing options...
Michel presta Posted August 28, 2017 Share Posted August 28, 2017 Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1097Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1100Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1103Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1106Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1109Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1112 [PrestaShopException]Property StockMvt->id_employee is emptyat line 917 in file classes/ObjectModel.php 912. }913.914. $message = $this->validateField($field, $this->$field);915. if ($message !== true) {916. if ($die) {917. throw new PrestaShopException($message);918. }919. return $error_return ? $message : false;920. }921. }922. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php] ObjectModelCore->add - [line 445 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 1175 - classes/stock/StockManager.php] StockManagerCore->removeProductQuantityApplyingCump - [line 342 - classes/stock/StockManager.php] - [6 Arguments] StockManagerCore->removeProduct - [line 158 - override/classes/order/OrderHistory.php] - [9 Arguments] OrderHistory->changeIdOrderState - [line 682 - classes/PaymentModule.php] - [3 Arguments] PaymentModuleCore->validateOrder - [line 59 - modules/cashondelivery/controllers/front/validation.php] - [9 Arguments] CashondeliveryValidationModuleFrontController->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Hi i have this problem upgradin prestasho from 1.6.0.14 to 1.6.1.16Thank for your help. Link to comment Share on other sites More sharing options...
hardik12 Posted January 9, 2023 Share Posted January 9, 2023 url Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now