Title: PHP Errors
Last modified: August 23, 2025

---

# PHP Errors

 *  Resolved [chumidor](https://wordpress.org/support/users/chumidor/)
 * (@chumidor)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-342/)
 * I’m getting all these errors below and not sure how to fix it
 *     ```wp-block-code
       1144 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1176 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1179 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1184 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1192 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1201 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1203 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1506 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1533 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1538 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead1548 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2055 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2152 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2153 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2157 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2253 | ERROR | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 and removed since PHP 7.22253 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.22253 | ERROR | The constant "MCRYPT_MODE_CFB" is deprecated since PHP 7.1 and removed since PHP 7.22253 | ERROR | The constant "MCRYPT_MODE_NOFB" is deprecated since PHP 7.1 and removed since PHP 7.22253 | ERROR | The constant "MCRYPT_MODE_OFB" is deprecated since PHP 7.1 and removed since PHP 7.22253 | ERROR | The constant "MCRYPT_MODE_STREAM" is deprecated since PHP 7.1 and removed since PHP 7.22254 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2255 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2260 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead2260 | ERROR | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 and removed since PHP 7.22265 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-342%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * (@ibrahimsharif)
 * [7 months ago](https://wordpress.org/support/topic/php-errors-342/#post-18706822)
 * Hello [@chumidor](https://wordpress.org/support/users/chumidor/),
 * To help us pinpoint exactly which plugin or theme is causing these issues and
   resolve them more efficiently, the most crucial next step is to enable WordPress
   debug mode and retrieve the full error log. This log will provide us with specific
   file paths and line numbers, making it much easier to identify the source of 
   the problem.
 * Please follow these steps to enable debugging and get the log file:
    1. **Open your `wp-config.php` file:** This important file is located in the root
       directory of your WordPress installation. You can access it using an FTP client
       or through your hosting control panel’s file manager.
    2. **Locate the debug line:** Look for the line of code that says: `define('WP_DEBUG',
       false);`
    3. **Enable debugging:** Change the value from `false` to `true`.
    4. **Enable log saving:** Immediately after that line, please insert a new line
       of code: `define('WP_DEBUG_LOG', true);` The resulting code block should look
       like this:`define('WP_DEBUG', true); define('WP_DEBUG_LOG', true);`
    5. **Save the changes:** Ensure you save the updated `wp-config.php` file.
 * Once debugging is enabled and you’ve revisited the page where you’re seeing these
   errors (or any page on your site to trigger the errors again), WordPress will
   begin logging all errors and notices to a file named `debug.log`.
 * You will find this `debug.log` file inside your `wp-content` folder. A typical
   location would be: `/home/USER/public_html/wp-content/debug.log` (where `USER`
   is your hosting username).
 * Please share the contents of this `debug.log` file with us relevant to FluentSMTP.
   You can copy and paste the relevant parts directly into the ticket or upload 
   the file to a service like Pastebin and provide the link.
 * **Important Note:** After you’ve obtained the `debug.log` and shared it with 
   us, it’s highly recommended to disable debugging by reverting the changes in `
   wp-config.php` (`define('WP_DEBUG', false);` and removing `define('WP_DEBUG_LOG',
   true);`). This is important for security reasons and to prevent the log file 
   from growing unnecessarily large.
 * We’re here to help you get this sorted out smoothly!
 *  [nwjeff](https://wordpress.org/support/users/nwjeff/)
 * (@nwjeff)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-342/#post-18831625)
 * I am seeing the same issue in the log file, how was this resolved? Thank you.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-342%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/fluent-smtp/assets/icon.svg?rev=2458343)
 * [FluentSMTP - WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider](https://wordpress.org/plugins/fluent-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-smtp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [nwjeff](https://wordpress.org/support/users/nwjeff/)
 * Last activity: [3 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-342/#post-18831625)
 * Status: resolved