Title: Plugin not compatible with PHP 7
Last modified: November 8, 2016

---

# Plugin not compatible with PHP 7

 *  Resolved [craft37](https://wordpress.org/support/users/craft37/)
 * (@craft37)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php-7/)
 * FILE: /www/wp-content/plugins/mailpoet/vendor/tburry/pquery/gan_selector_html.
   php
    ——————————————————————————————————— FOUND 0 ERRORS AND 1 WARNING AFFECTING
   1 LINE ——————————————————————————————————— 1 | WARNING | File has mixed line 
   endings; this may cause incorrect results ———————————————————————————————————
 * FILE: /www/wp-content/plugins/mailpoet/vendor/swiftmailer/swiftmailer/lib/classes/
   Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
    ———————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————————————————-
   522 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError
   in PHP 7.0 ———————————————————————————————————————————————————-
 * FILE: /www/wp-content/plugins/mailpoet/vendor/swiftmailer/swiftmailer/lib/classes/
   Swift/Transport/SimpleMailInvoker.php
    ———————————————————————————————————————————————–
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————————————————————–
   33 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed
   since PHP 5.4. ———————————————————————————————————————————————–
 * FILE: /www/wp-content/plugins/mailpoet/vendor/swiftmailer/swiftmailer/lib/classes/
   Swift/ByteStream/FileByteStream.php
    ———————————————————————————————————————————————
   FOUND 2 ERRORS AFFECTING 2 LINES ———————————————————————————————————————————————
   87 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3
   and removed since PHP 5.4. 91 | ERROR | INI directive ‘magic_quotes_runtime’ 
   is deprecated since PHP 5.3 and removed since PHP 5.4. ———————————————————————————————————————————————
 * FILE: /www/wp-content/plugins/mailpoet/vendor/swiftmailer/swiftmailer/lib/classes/
   Swift/Message.php
    ————————————————————————————————————————— FOUND 2 ERRORS AFFECTING
   2 LINES ————————————————————————————————————————— 284 | ERROR | ‘clone’ is a 
   reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function(
   T_CLONE) 288 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version
   5.0 and cannot be invoked as a function (T_CLONE) —————————————————————————————————————————
 * FILE: /www/wp-content/plugins/mailpoet/vendor/swiftmailer/swiftmailer/lib/classes/
   Swift/KeyCache/DiskKeyCache.php
    —————————————————————————————————————————————–
   FOUND 4 ERRORS AFFECTING 4 LINES —————————————————————————————————————————————–
   180 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3
   and removed since PHP 5.4. 187 | ERROR | INI directive ‘magic_quotes_runtime’
   is deprecated since PHP 5.3 and removed since PHP 5.4. 207 | ERROR | INI directive‘
   magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4. 
   213 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3
   and removed since PHP 5.4. —————————————————————————————————————————————–

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

 *  Plugin Author [MailPoet](https://wordpress.org/support/users/mailpoet/)
 * (@mailpoet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php-7/#post-8421732)
 * [@craft37](https://wordpress.org/support/users/craft37/) Can you write to us 
   using that circle blue button that sites on the right bottom corner of your MailPoet
   pages? That way, we’ll be able to capture information about your MailPoet to 
   help you fix that.
 *  Plugin Author [MailPoet](https://wordpress.org/support/users/mailpoet/)
 * (@mailpoet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php-7/#post-8421747)
 * Also, our plugin is fully compatible with PHP 7 despite those messages. These
   errors/warnings come from third-party libraries that have been tested to work
   on PHP 7.
 * There’s absolutely no need to worry about those messages.
 * That plugin is not a good tool to detect PHP compatibility, see here why: [https://wordpress.org/support/topic/not-usable-poor-accuracy-false-positives-13-of-the-time/](https://wordpress.org/support/topic/not-usable-poor-accuracy-false-positives-13-of-the-time/)
    -  This reply was modified 9 years, 6 months ago by [MailPoet](https://wordpress.org/support/users/mailpoet/).
 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php-7/#post-8430187)
 * Hi [@craft37](https://wordpress.org/support/users/craft37/),
 * I can confirm that’s false positive. You can see other test where [https://github.com/swiftmailer/swiftmailer](https://github.com/swiftmailer/swiftmailer)
   pass without warning/errors:
 * [https://travis-ci.org/swiftmailer/swiftmailer](https://travis-ci.org/swiftmailer/swiftmailer)
 * Official confirmation:
    [https://github.com/swiftmailer/swiftmailer/issues/765](https://github.com/swiftmailer/swiftmailer/issues/765)
 * I hope this will be helpful.
    -  This reply was modified 9 years, 6 months ago by [Saša](https://wordpress.org/support/users/stodorovic/).

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

The topic ‘Plugin not compatible with PHP 7’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Saša](https://wordpress.org/support/users/stodorovic/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-php-7/#post-8430187)
 * Status: resolved