Jump to content

Property CustomerMessage->message is empty at line 881 in file classes/ObjectModel.php


ioan1iuga

Recommended Posts

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 empty
at 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;

 

My Prestashop version is 1.6.1.0. 

 

Can anyone help, please?

 

Thanks in advance!

Link to comment
Share on other sites

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).

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Has anyone found a resolution to this issue?  

 

[PrestaShopException]

Property CustomerMessage->message is empty
at 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

  • 2 months later...
  • 2 months later...

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 by boratoclothing (see edit history)
Link to comment
Share on other sites

  • 4 months later...
  • 3 months later...
  • 10 months later...

Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1097

Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1100

Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1103

Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1106

Notice: Trying to get property of non-object in /var/www/clients/client1/web1/web/classes/stock/StockManager.php on line 1109

Notice: 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 empty
at 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.

 

 

Hi i have this problem upgradin prestasho from 1.6.0.14 to 1.6.1.16

Thank for your help.

Link to comment
Share on other sites

  • 5 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...