• Resolved ehenrychs

    (@ehenrychs)


    I receive the following error when trying to upgrade PHP. Please advise.

    FILE: /home/…./wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/human-readable-interface/src/MessageAwareInterface.php
    ———————————————————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————————————————————————————
    5 | ERROR | ‘string’ is a reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @ehenrychs,

    This looks more like a “false alarm” from what I assume to be a security plugin rather than an actual error message.
    Which PHP version are you upgrading to? PayPal Payments supports PHP 8, but I’m not sure about PHP 8.1 compatibility.

    Kind regards,
    Niklas

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

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

The topic ‘PHP Compatibility Issues’ is closed to new replies.