Ehsanai Posted November 20, 2022 Share Posted November 20, 2022 (edited) Hi, When I want to add a voucher to order on BO, it's not apply and after enable debug I get this error: [Symfony\Component\Debug\Exception\ContextErrorException code 0]: Notice: Trying to get property 'id' of non-object can anyone help me? PS. 1.7.8.5 Edited November 20, 2022 by Ehsanai (see edit history) Link to comment Share on other sites More sharing options...
apositivo Posted May 19, 2023 Share Posted May 19, 2023 On 11/20/2022 at 3:17 AM, Ehsanai said: Hi, When I want to add a voucher to order on BO, it's not apply and after enable debug I get this error: [Symfony\Component\Debug\Exception\ContextErrorException code 0]: Notice: Trying to get property 'id' of non-object can anyone help me? PS. 1.7.8.5 Hello @Ehsanai, any news? we have this issue in prestashop 1.7.8.8 Link to comment Share on other sites More sharing options...
AddWeb Solution Posted July 28, 2023 Share Posted July 28, 2023 Hi, Look for the specific file and line number mentioned in the error message. There is an attempt to access the 'id' property of an object. Make sure that the object being referenced is valid and has been initialized properly before accessing its properties. Thanks! Link to comment Share on other sites More sharing options...
fidaumer Posted November 10, 2023 Share Posted November 10, 2023 On 11/20/2022 at 11:17 AM, Ehsanai said: Hi, When I want to add a voucher to order on BO, it's not apply and after enable debug I get this error: [Symfony\Component\Debug\Exception\ContextErrorException code 0]: Notice: Trying to get property 'id' of non-object can anyone help me? PS. 1.7.8.5 Link to comment Share on other sites More sharing options...
fidaumer Posted November 10, 2023 Share Posted November 10, 2023 Encountering a 'Trying to get property' error while attempting to add a cart rule in the Back Office; any insights or solutions would be greatly appreciated! Link to comment Share on other sites More sharing options...
Hart Posted October 23, 2024 Share Posted October 23, 2024 (edited) On 11/20/2022 at 7:17 AM, Ehsanai said: Hi, When I want to add a voucher to order on BO, it's not apply and after enable debug I get this error: [Symfony\Component\Debug\Exception\ContextErrorException code 0]: Notice: Trying to get property 'id' of non-object can anyone help me? PS. 1.7.8.5 i've the same problem whren i try to convert a cart to an order or to add a voucher in an existing order with PS 1.7.8.7 any fix? Edited October 23, 2024 by Hart (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