Title: possible php error
Last modified: October 15, 2019

---

# possible php error

 *  Resolved [Mikael Boldt](https://wordpress.org/support/users/boldt/)
 * (@boldt)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/possible-php-error-2/)
 * My WP and Woocommerce installation has told me to update my php version.
 * I have installed PHP Compatibility Checker to see if I get any problems.
 * PHP Compatibility Checker gives me this warning related to your plugin:
 * FILE: /wp-content/plugins/payment-gateway-via-paylike-for-woocommerce/vendor/
   paylike/php-api/src/Resource/Apps.php
    ———————————————————————————- FOUND 0 ERRORS
   AND 1 WARNING AFFECTING 1 LINE ———————————————————————————- 3 | WARNING | ‘resource’
   is a soft 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) ———————————————————————————-
 * FILE: /wp-content/plugins/payment-gateway-via-paylike-for-woocommerce/vendor/
   paylike/php-api/src/Resource/Cards.php
    ———————————————————————————- FOUND 0 
   ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————- 3 | WARNING
   | ‘resource’ is a soft 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)———————————————————————————-
 * FILE: /wp-content/plugins/payment-gateway-via-paylike-for-woocommerce/vendor/
   paylike/php-api/src/Resource/Merchants.php
    ———————————————————————————-FOUND
   0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————- 3 | WARNING
   | ‘resource’ is a soft 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)———————————————————————————-
 * FILE: /wp-content/plugins/payment-gateway-via-paylike-for-woocommerce/vendor/
   paylike/php-api/src/Resource/Transactions.php
    ———————————————————————————-
 * FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————- 3
   | WARNING | ‘resource’ is a soft 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)———————————————————————————-
 * FILE: /wp-content/plugins/payment-gateway-via-paylike-for-woocommerce/vendor/
   paylike/php-api/src/Resource/Resource.php
    ———————————————————————————- FOUND
   0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ———————————————————————————- 3 | WARNING
   | ‘resource’ is a soft 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)
   10 | WARNING | ‘resource’ is a soft 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_CLASS) ———————————————————————————-

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

 *  Plugin Author [ionut.calara](https://wordpress.org/support/users/ionutcalara/)
 * (@ionutcalara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/possible-php-error-2/#post-12033913)
 * Hi [@boldt](https://wordpress.org/support/users/boldt/), thank you for reporting
   this. Please note you can still use the plugin, but we will also publish an update
   that changes the naming so that it doesn’t clash with the soft reserved word.
 * Thank you,
    Ionut
 *  Plugin Author [ionut.calara](https://wordpress.org/support/users/ionutcalara/)
 * (@ionutcalara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/possible-php-error-2/#post-12039561)
 * Hi [@boldt](https://wordpress.org/support/users/boldt/) the new version of the
   plugin fixes this issue:
    [https://share.getcloudapp.com/NQuerBnj](https://share.getcloudapp.com/NQuerBnj)
 * Let me know if you have any other questions.
    Thank you, Ionut
    -  This reply was modified 6 years, 7 months ago by [ionut.calara](https://wordpress.org/support/users/ionutcalara/).

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

The topic ‘possible php error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/payment-gateway-via-paylike-for-woocommerce_192f33.
   svg)
 * [WooCommerce Paylike Payment Gateway](https://wordpress.org/plugins/payment-gateway-via-paylike-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-gateway-via-paylike-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-gateway-via-paylike-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-gateway-via-paylike-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-gateway-via-paylike-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-gateway-via-paylike-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ionut.calara](https://wordpress.org/support/users/ionutcalara/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/possible-php-error-2/#post-12039561)
 * Status: resolved