Trying to get property ‘name’ of non-object
-
Hello,
Your plugin is producing an error notice …
[22-Sep-2023 13:58:58 UTC] E_NOTICE: Trying to get property ‘name’ of non-object in /wp-content/plugins/stripe-payments/includes/class-asp-pp-ajax.php on line 437
Looks like you need to use isset() function before accessing
$shipping_details->name
on line 437 …if ( isset($shipping_details->name) && $shipping_details->name ) {
Oliver
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Trying to get property ‘name’ of non-object’ is closed to new replies.