Cannot access protected property(class-license-manager.php)
-
I’m getting a PHP Fatal Error
FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot access protected property WP_Express_Checkout\Order::$data in wp-content/plugins/wp-express-checkout/includes/integrations/license-manager/class-license-manager.php:93
Stack trace:
#0 wp-content/plugins/wp-express-checkout/includes/integrations/license-manager/class-license-manager.php(54): WP_Express_Checkout\Integrations\License_Manager->create_license()It seems that access is protected in the following places.
$payment_data[‘data’][‘payer’][‘name’][‘given_name’]
Also, the
$reretrieved_product->id
on line 55 has been modified to
$reretrieved_product->ID.
The topic ‘Cannot access protected property(class-license-manager.php)’ is closed to new replies.