Title: Deprecated PHP
Last modified: April 12, 2023

---

# Deprecated PHP

 *  Resolved [Malae](https://wordpress.org/support/users/malae/)
 * (@malae)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-php-3/)
 * Hello,
   Can you please fix the following deprecated PHP:
 * FILE: src/GridGallery/Optimization/Model/Encrypt.php
   FOUND 13 ERRORS AND 0 WARNINGS
   AFFECTING 7 LINES`14 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1
   and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available
   instead``14 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use OpenSSL instead``15 | ERROR | Extension 'mcrypt'
   is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred)
   or pecl/mcrypt once available instead``15 | ERROR | Function mcrypt_create_iv()
   is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or 
   OpenSSL instead``15 | ERROR | The constant "MCRYPT_RAND" is deprecated since 
   PHP 7.1 and removed since PHP 7.2``16 | ERROR | Extension 'mcrypt' is deprecated
   since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt
   once available instead``16 | ERROR | Function mcrypt_encrypt() is deprecated 
   since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead``29 | ERROR | Extension'
   mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred)
   or pecl/mcrypt once available instead``29 | ERROR | Function mcrypt_get_iv_size()
   is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead``35
   | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP
   7.2; Use openssl (preferred) or pecl/mcrypt once available instead``35 | ERROR
   | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP
   7.2; Use OpenSSL instead``45 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is 
   deprecated since PHP 7.1 and removed since PHP 7.2``48 | ERROR | The constant"
   MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2`

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

 *  Thread Starter [Malae](https://wordpress.org/support/users/malae/)
 * (@malae)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-16911302)
 * Please.
 *  [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * (@trsupsys)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-16912666)
 * Hello, [@malae](https://wordpress.org/support/users/malae/)
 * Thank you for contacting us!
 * I have forwarded your request to our developer.
 * If the refactoring to a new feature is successful, we will release it in the 
   next update.
 *  [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * (@trsupsys)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-16935063)
 * [@malae](https://wordpress.org/support/users/malae/)
 * Fixed. Please update plugin.
 *  Thread Starter [Malae](https://wordpress.org/support/users/malae/)
 * (@malae)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-16935315)
 * Many thanks for the updated plugin. I was unable to find it listed until a short
   time ago, but now updated.
 *  Thread Starter [Malae](https://wordpress.org/support/users/malae/)
 * (@malae)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-17276264)
 * [@imee624455](https://wordpress.org/support/users/imee624455/))
 * It has been 8 months since I posted the deprecated PHP errors and the plugin 
   was updated twice since then.
   Please provide advise which version your details
   refer to.
 *  [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * (@trsupsys)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-17319892)
 * [@malae](https://wordpress.org/support/users/malae/)
 * Mcrypt has already been replaced in versions since 1.15.13 and PRO 2.9.9

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

The topic ‘Deprecated PHP’ is closed to new replies.

 * ![](https://ps.w.org/gallery-by-supsystic/assets/icon-256x256.png?rev=1684313)
 * [Photo Gallery - Responsive Image Galleries by Supsystic](https://wordpress.org/plugins/gallery-by-supsystic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-by-supsystic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-by-supsystic/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-by-supsystic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-by-supsystic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-by-supsystic/reviews/)

## Tags

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

 * 8 replies
 * 2 participants
 * Last reply from: [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-3/#post-17319892)
 * Status: resolved