Title: Compability with PHP 7.2
Last modified: September 6, 2020

---

# Compability with PHP 7.2

 *  Resolved [lenabr](https://wordpress.org/support/users/lenabr/)
 * (@lenabr)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/compability-with-php-7-2/)
 * I checked my site with the plugin PHP Compatibility Checker before updating to
   PHP 7.3 and it shows me this error message for weforms-plugin:
 * FOUND 4 ERRORS AFFECTING 3 LINES
    ——————————————————————————————————————————————————-
   229 | ERROR | The constant “MCRYPT_MODE_CBC” is deprecated since PHP 7.1 and 
   removed since PHP 7.2 230 | ERROR | The constant “MCRYPT_RIJNDAEL_128” is deprecated
   since PHP 7.1 and removed since PHP 7.2 232 | ERROR | Extension ‘mcrypt’ is deprecated
   since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt
   once available instead 232 | ERROR | Function mcrypt_encrypt() is deprecated 
   since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
 * Is this something that could damage my site when updating PHP?

Viewing 1 replies (of 1 total)

 *  [Elana Davis](https://wordpress.org/support/users/elanasparkle/)
 * (@elanasparkle)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/compability-with-php-7-2/#post-13377716)
 * Hello [@lenabr](https://wordpress.org/support/users/lenabr/)
 * Thank you for reaching out to support these look like encryption methods for 
   the PHP versions that you have set up for, specifically on the server. This might
   be something you need to follow up with you’re hosting provider but are there
   specific errors you see on the forms? I would always recommend setting up a testing
   subdomain and then changing the PHP version of the subdomain and making sure 
   the code you have worked with the version before changing. However, PHP version
   changes are easy to change and revert if you see issues.
 * Thanks
    Elana D.

Viewing 1 replies (of 1 total)

The topic ‘Compability with PHP 7.2’ is closed to new replies.

 * ![](https://ps.w.org/weforms/assets/icon-256x256.png?rev=1978687)
 * [weForms - Easy Drag & Drop Contact Form Builder For WordPress](https://wordpress.org/plugins/weforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weforms/)
 * [Active Topics](https://wordpress.org/support/plugin/weforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weforms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elana Davis](https://wordpress.org/support/users/elanasparkle/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/compability-with-php-7-2/#post-13377716)
 * Status: resolved