• Resolved progressllccojp

    (@progressllccojp)


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for reporting this to us. Our of curiosity, what PHP version is running in your server and what version of the plugin is running in your site?

    Kind regards.

    Thread Starter progressllccojp

    (@progressllccojp)

    Thank you for your comment.

    PHP Version: 7.4.21
    WP Express Checkout Version: 2.2.0

    I also tried it with PHP version 8.0.17 and I get the same error.

    Thank you. We have released a new update to the plugin that should fix this integration with the Software License Manager plugin.

    Please update the plugin when you can.

    Thread Starter progressllccojp

    (@progressllccojp)

    We have verified that integration with the SoftwareLicenseManager plug-in works with plug-in version 2.2.1.

    Thank you for the upgrade.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for reporting back and letting us know that the latest version fixes this issue 🙂 I am marking this thread as resolved.

    Enjoy the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot access protected property(class-license-manager.php)’ is closed to new replies.