Title: Incompatible with PHP 8
Last modified: March 16, 2021

---

# Incompatible with PHP 8

 *  [kudlav](https://wordpress.org/support/users/kudlav/)
 * (@kudlav)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/incompatible-with-php-8/)
 * 1. Try to subscribe to the newsletter using widget
    2. This plugin causes WP 
   crash
 *     ```
       PHP Deprecated:  Required parameter $unikey follows optional parameter $newstate in .../wp-content/plugins/alo-easymail/functions/alo-easymail-subscribers.php on line 78
       PHP Fatal error:  Uncaught Error: Call to undefined function PHPMailer\PHPMailer\ctype_alnum() in .../wp-includes/PHPMailer/PHPMailer.php:1793
       Stack trace:
       #0 .../wp-includes/PHPMailer/PHPMailer.php(1871): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
       #1 .../wp-includes/PHPMailer/PHPMailer.php(1635): PHPMailer\PHPMailer\PHPMailer->mailSend()
       #2 .../wp-includes/PHPMailer/PHPMailer.php(1466): PHPMailer\PHPMailer\PHPMailer->postSend()
       #3 .../wp-includes/pluggable.php(531): PHPMailer\PHPMailer\PHPMailer->send()
       #4 .../wp-content/plugins/alo-easymail/functions/alo-easymail-mailer.php(64): wp_mail()
       #5 .../wp-content/plugins/alo-easymail/functions/alo-easymail-subscribers.php(122): alo_em_send_activation_email()
       #6 .../wp-content/plugins/alo-easymail/functions/alo-easymail-frontend.php(443): alo_em_add_subscriber()
       #7 .../wp-includes/class-wp-hook.php(292): alo_em_pubblic_form_callback()
       #8 .../wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
       #9 .../wp-includes/plugin.php(484): WP_Hook->do_action()
       #10 .../wp-admin/admin-ajax.php(202): do_action()
       #11 {main}
         thrown in .../wp-includes/PHPMailer/PHPMailer.php on line 1793
       ```
   
    -  This topic was modified 5 years, 2 months ago by [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/).
    -  This topic was modified 5 years, 2 months ago by [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/).
      Reason: Tried to fix formatting

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

 *  Plugin Author [eventualo](https://wordpress.org/support/users/eventualo/)
 * (@eventualo)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-php-8/#post-14313765)
 * Hi kudlav, sorry for delay.
    It’s not related to EasyMail plugin itself, but 
   to the PHPMailer library provided by WP. This library uses a PHP module that 
   seems to be missing on your server. You should ask you provider to install php-
   ctype module. I hope it helps.
 *  Thread Starter [kudlav](https://wordpress.org/support/users/kudlav/)
 * (@kudlav)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-php-8/#post-14404523)
 * Hi,
    thanks for your answer and sorry for my mistake, you’re right.
 * Registration works but still get this Deprecated info in PHP 8.0.1:
    `PHP Deprecated:
   Required parameter $unikey follows optional parameter $newstate in .../wp-content/
   plugins/alo-easymail/functions/alo-easymail-subscribers.php on line 78`

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

The topic ‘Incompatible with PHP 8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/alo-easymail_574f4b.svg)
 * [ALO EasyMail Newsletter](https://wordpress.org/plugins/alo-easymail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/alo-easymail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/alo-easymail/)
 * [Active Topics](https://wordpress.org/support/plugin/alo-easymail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/alo-easymail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/alo-easymail/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kudlav](https://wordpress.org/support/users/kudlav/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-php-8/#post-14404523)
 * Status: not resolved