Title: Compatibility issue with PHP 7
Last modified: September 1, 2016

---

# Compatibility issue with PHP 7

 *  Resolved [legymnase](https://wordpress.org/support/users/legymnase/)
 * (@legymnase)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-issue-with-php-7/)
 * Hello,
 * I’m going to switch my PHP server to the version 7, and before doing that I ran
   this plugin to check for compatibility issues with PHP7 : WP Engine PHP Compatibility
   Checker
 * It said in the results that “AGP Font Awesome Collection” had 2 warnings :
    [
   INI directive ‘mbstring.internal_encoding’ is deprecated from PHP 5.6 ] in the
   file “/agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php”
 * and 16 errors in the file “agp-font-awesome-collection/vendor/agp/agp-core/src/
   classes/Database/MySqlDb.php” :
    [ Extension ‘mysql_’ is deprecated since PHP
   5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.]
 * Would be awesome if you can correct these 🙂
    Cheers and thanks for this plugin
 * [https://wordpress.org/plugins/agp-font-awesome-collection/](https://wordpress.org/plugins/agp-font-awesome-collection/)

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

 *  Plugin Author [Alexey Golubnichenko](https://wordpress.org/support/users/agolubnichenko/)
 * (@agolubnichenko)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-issue-with-php-7/#post-7622547)
 * Hi, legymnase
 * As for the first issue.
    You can see in your message, that issue occurs in file“/
   agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php”. This
   is file from third-party library “oyejorge/less.php” ([https://github.com/oyejorge/less.php](https://github.com/oyejorge/less.php)),
   that uses in the plugin. I can’t change source code of this library, because 
   this changes can be lost after update this library in my plugin.
 * As for the second issue.
    The file “agp-font-awesome-collection/vendor/agp/agp-
   core/src/classes/Database/MySqlDb.php” is a part of my plugin core library ([https://github.com/AGolubnichenko/agp-core](https://github.com/AGolubnichenko/agp-core)).
   This is library uses in my some other projects on PHP below 7 version where “
   mysql_” is not deprecated yet. So I can’t change or remove this code now. But
   I want to assure you, that module (MySqlDb.php) is not used within this plugin,
   so this error is “potential” and will not occur.
 * With kind regards,
    Alexey
 *  Thread Starter [legymnase](https://wordpress.org/support/users/legymnase/)
 * (@legymnase)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-issue-with-php-7/#post-7622548)
 * ok, thanks for the quick response 🙂
 * Dominique – France
 *  Plugin Author [Alexey Golubnichenko](https://wordpress.org/support/users/agolubnichenko/)
 * (@agolubnichenko)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-issue-with-php-7/#post-7622555)
 * Currently I mark this topic as resolved. If you have other questions or comments
   you can reopen this topic or create a new one.

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

The topic ‘Compatibility issue with PHP 7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/agp-font-awesome-collection_647baf.
   svg)
 * [AGP Font Awesome Collection](https://wordpress.org/plugins/agp-font-awesome-collection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/agp-font-awesome-collection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/agp-font-awesome-collection/)
 * [Active Topics](https://wordpress.org/support/plugin/agp-font-awesome-collection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agp-font-awesome-collection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agp-font-awesome-collection/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Alexey Golubnichenko](https://wordpress.org/support/users/agolubnichenko/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-issue-with-php-7/#post-7622555)
 * Status: resolved