Filipa-HeyDigital Posted September 27, 2017 Share Posted September 27, 2017 Hello, I'm testing paypal module and in express checkout give me this error:Fatal error: Uncaught exception 'PrestaShopException' with message 'Property CustomerThread->name is empty' in /home/NOMEDOPROJETO/public_html/classes/ObjectModel.php:881 Stack trace: #0 /home/NOMEDOPROJETO/public_html/classes/ObjectModel.php(245): ObjectModelCore->validateFields() #1 /home/NOMEDOPROJETO/public_html/classes/ObjectModel.php(469): ObjectModelCore->getFields() #2 /home/NOMEDOPROJETO/public_html/classes/PaymentModule.php(642): ObjectModelCore->add() #3 /home/NOMEDOPROJETO/public_html/modules/paypal/paypal.php(2428): PaymentModuleCore->validateOrder(44, 11, 58, 'PayPal', 'Pending payment...', Array, 1, false, '6dc194b063ec5fe...', Object(Shop)) #4 /home/NOMEDOPROJETO/public_html/modules/paypal/express_checkout/payment.php(363): PayPal->validateOrder(44, 11, 58, 'PayPal', 'Pending payment...', Array, 1, false, '6dc194b063ec5fe...', Object(Shop)) #5 /home/NOMEDOPROJETO/public_html/modules/paypal/express_checkout/payment.php(380): validateOrder(Object(Customer), Object(Cart), Object(PaypalExpressCheckout)) in /home/NOMEDOPROJETO/public_html/classes/ObjectModel.php on line 881Can u help me please? Link to comment Share on other sites More sharing options...
Web VIZO Posted September 28, 2017 Share Posted September 28, 2017 (edited) Hello, It seems like the method validateOrder([...]) creates a contact thread when a message is specified in the parameters, as the module is doing: modules/paypal/paypal.php(2428): PaymentModuleCore->validateOrder(44, 11, 58, 'PayPal', 'Pending payment...', Array, 1, false, '6dc194b063ec5fe...', Object(Shop)) However, because "name" is not a default property of the CustomerThread class, the class method is trying to add the thread to the database incorrectly. Make sure that you have no third-party modules changing the behavior of your store. Best regards, Web Development VIZO. Edited September 28, 2017 by Web VIZO (see edit history) Link to comment Share on other sites More sharing options...
Carlos Posted July 12, 2019 Share Posted July 12, 2019 (edited) I have this problem too. Did you resolve it? Edited July 12, 2019 by Carlos (see edit history) 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