Title: Error with PHP 7.0
Last modified: August 31, 2016

---

# Error with PHP 7.0

 *  [w14r](https://wordpress.org/support/users/w14r/)
 * (@w14r)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-70/)
 * Hello.
 * Our provider forced us to switch to PHP 7.0 and now it seems that ACE is no more
   running. Error messages only see: [http://www.screencast.com/t/h0ozFqAatJBf](http://www.screencast.com/t/h0ozFqAatJBf)
 * We need to deactivate ace. Can this be solved quickly or do I need to look for
   an other plugin?
 * Wilhelm
 * [https://wordpress.org/plugins/advanced-category-excluder/](https://wordpress.org/plugins/advanced-category-excluder/)

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

 *  [magenbrot](https://wordpress.org/support/users/magenbrot/)
 * (@magenbrot)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-70/#post-7023368)
 * to fix this replace the following lines in wp-content/plugins/advanced-category-
   excluder/advanced-category-excluder.php
 * replace in line 128:
    `$sql_version = substr (mysql_get_server_info (), 0,3);`
   with this: `$sql_version = '5.6';`
 * replace in line 367:
    `$cats = split(',',get_option("ace_categories_norobots"));`
   with: `$cats = explode(',',get_option("ace_categories_norobots"));`
 *  Thread Starter [w14r](https://wordpress.org/support/users/w14r/)
 * (@w14r)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-70/#post-7023369)
 * Tank you magenbrot.
 * That solved the problem.
 * Wilhelm
 *  [llunarob](https://wordpress.org/support/users/llunarob/)
 * (@llunarob)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-with-php-70/#post-7023452)
 * Amazing magenbrot
    Thank you very much !! Regards.

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

The topic ‘Error with PHP 7.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-category-excluder.svg)
 * [Advanced Category Excluder](https://wordpress.org/plugins/advanced-category-excluder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-category-excluder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-category-excluder/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-category-excluder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-category-excluder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-category-excluder/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [PHP 7.0](https://wordpress.org/support/topic-tag/php-7-0/)

 * 3 replies
 * 3 participants
 * Last reply from: [llunarob](https://wordpress.org/support/users/llunarob/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/error-with-php-70/#post-7023452)
 * Status: not resolved