Title: Error when checking for PHP 7 compatibility
Last modified: December 19, 2016

---

# Error when checking for PHP 7 compatibility

 *  Resolved [amitramani](https://wordpress.org/support/users/amitramani/)
 * (@amitramani)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-when-checking-for-php-7-compatibility/)
 * 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](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-when-checking-for-php-7-compatibility/#post-8566552)
 * 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](https://github.com/angelleye/paypal-woocommerce/archive/release.zip)
   and update it manually.
 *  Thread Starter [amitramani](https://wordpress.org/support/users/amitramani/)
 * (@amitramani)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-when-checking-for-php-7-compatibility/#post-8594288)
 * 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](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-when-checking-for-php-7-compatibility/#post-8597947)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-for-woocommerce_dce4f5.svg)
 * [PayPal for WooCommerce](https://wordpress.org/plugins/paypal-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-for-woocommerce/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 3 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/error-when-checking-for-php-7-compatibility/#post-8597947)
 * Status: resolved