Hello everyone same probleme since yesterday. In Apache logs i see these errors :
PHP message: PHP Notice: Trying to get property of non-object in /XXXXXX/modules/paypal/ipn.php on line 86
PHP message: PHP Notice: Trying to get property of non-object in /XXXXXX/modules/paypal/ipn.php on line 88
PHP message: PHP Notice: Trying to get property of non-object in XXXXXX/modules/paypal/ipn.php on line 89
PHP message: PHP Notice: Trying to get property of non-object in /XXXXXX/modules/paypal/ipn.php on line 90
PHP message: PHP Fatal error: Call to a member function getSummaryDetails() on a non-object in /XXXXXX/modules/paypal/ipn.php on line 156
I think the probleme is at line 79-84 :
$id_order = (int)PayPalOrder::getIdOrderByTransactionId($txn_id);
if ($id_order != 0)
Context::getContext()->cart = new Cart((int)$id_order);
elseif (isset($custom['id_cart']))
Context::getContext()->cart = new Cart((int)$custom['id_cart']);
The Context::getContext()->cart is empty