Title: Warning: not compatible with PHP 7.1
Last modified: July 26, 2018

---

# Warning: not compatible with PHP 7.1

 *  Resolved [Alan Stewart](https://wordpress.org/support/users/heartstone/)
 * (@heartstone)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/)
 * I’m receiving a new error for this pricing table plugin:
 * The following plugins/themes are not compatible with PHP 7.1.
    Easy Pricing Tables
   by Fatcat Apps
 * Is this an issue that will be addressed soon?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-not-compatible-with-php-7-1%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [fatcatapps](https://wordpress.org/support/users/fatcatapps/)
 * (@fatcatapps)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/#post-10569556)
 * Hello Alan,
 * Where are you receiving this message? Our plugin should be fully compatible with
   PHP 7.1
 * As long as the plugin is working, this message can likely be disregarded. There
   may be some lines of code meant for certain purposes that are not compatible 
   with PHP 7.1, that will never actually run since that is what you are using.
 * So please let us know if anything is not working, or if we can be of further 
   assistance with anything else.
 *  [papercheck](https://wordpress.org/support/users/papercheck/)
 * (@papercheck)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/#post-10638196)
 * You can’t load the plugins page because of the following error while using PHP7.2
 * [Wed Aug 29 16:28:09.662909 2018] [php7:error] [pid 3081] [client xxx.xxx.xxx.
   xxx:57586] PHP Fatal error: Uncaught Error: Cannot unset string offsets in /var/
   www/website/wp-content/plugins/easy-pricing-tables/pricing-table-plugin.php:52\
   nStack trace:\n#0 /var/www/website/wp-includes/class-wp-hook.php(288): dh_ptp_plugin_settings_link(‘
   <‘)\n#1 /var/www/website/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘
   <‘, Array)\n#2 /var/www/website/wp-admin/includes/class-wp-plugins-list-table.
   php(714): apply_filters(‘plugin_action_l…’, ‘<‘, ‘easy-pricing-ta…’, Array, ‘
   all’)\n#3 /var/www/website/wp-admin/includes/class-wp-plugins-list-table.php(
   534): WP_Plugins_List_Table->single_row(Array)\n#4 /var/www/website/wp-admin/
   includes/class-wp-list-table.php(1165): WP_Plugins_List_Table->display_rows()\
   n#5 /var/www/website/wp-admin/includes/class-wp-list-table.php(1097): WP_List_Table-
   >display_rows_or_placeholder()\n#6 /var/www/website/wp-admin/plugins.php(571):
   WP_List_Table->display()\n#7 {main}\n thrown in /var/www/website/wp-content/plugins/
   easy-pricing-tables/pricing-table-plugin.php on line 52, referer: [https://www.website.com/wp-admin/plugins.php](https://www.website.com/wp-admin/plugins.php)
 *  [papercheck](https://wordpress.org/support/users/papercheck/)
 * (@papercheck)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/#post-10668033)
 * I haven’t heard back, but I did find a workaround for your plugin after I tracked
   down the bug.
 * /var/www/website/wp-content/plugins/easy-pricing-tables/pricing-table-plugin.
   php:52
 * -relates to-
 * // Remove Edit link
    unset($links[‘edit’]);
 * The problem is that $links is not an array. To handle this situation, I re-wrote
   line 52:
 * // Remove Edit link
    // unset($links[‘edit’]); if (is_array($links)) { if (array_key_exists(‘
   edit’,$links)) { unset($links[‘edit’]); } }
 * I would like to do a pull request, but I don’t see your Github repo.
 *  [papercheck](https://wordpress.org/support/users/papercheck/)
 * (@papercheck)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/#post-11182199)
 * This has yet to be resolved. I just updated to Version 2.4.0 and ran into the
   same issue. The suggestion I added (now to line 56) resolves the issue.

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

The topic ‘Warning: not compatible with PHP 7.1’ is closed to new replies.

 * ![](https://ps.w.org/easy-pricing-tables/assets/icon-256x256.gif?rev=2922075)
 * [Pricing Table WordPress Plugin - Easy Pricing Tables](https://wordpress.org/plugins/easy-pricing-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-pricing-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-pricing-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-pricing-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-pricing-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-pricing-tables/reviews/)

## Tags

 * [php 7.1](https://wordpress.org/support/topic-tag/php-7-1/)
 * [php7.2](https://wordpress.org/support/topic-tag/php7-2/)

 * 4 replies
 * 3 participants
 * Last reply from: [papercheck](https://wordpress.org/support/users/papercheck/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/warning-not-compatible-with-php-7-1/#post-11182199)
 * Status: resolved