• Resolved amitramani

    (@amitramani)


    I am trying to check my site for compatibility with PHP 7. When I run the PHP compatibility plugin, it flags this plugin as being incompatible.
    Any ideas?
    Here is the error log:

    FILE: /wp-content/plugins/paypal-for-woocommerce/classes/lib/CentinelClient.php
    ————————————————————————————————————–
    FOUND 3 ERRORS AFFECTING 3 LINES
    ————————————————————————————————————–
    122 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    123 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    135 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    ————————————————————————————————————–

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor angelleye

    (@angelleye)

    This has been resolved in our release branch on GitHub and will be included in the 1.3.0 release coming soon.

    If you’d like to grab it early you can download the release branch and update it manually.

    Thread Starter amitramani

    (@amitramani)

    Thanks. If I install the release branch version, will I lose all the Paypal settings for the plugin. Or will it restore them once the release branch version is installed?

    Plugin Contributor angelleye

    (@angelleye)

    You wouldn’t lose anything. That said, we did release the 1.3.0 (and a quick 1.3.1 follow up) already, so you can just update the usual way now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when checking for PHP 7 compatibility’ is closed to new replies.