{"id":16646892,"date":"2023-04-12T04:38:49","date_gmt":"2023-04-12T04:38:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/deprecated-php-3\/"},"modified":"2023-04-12T04:38:49","modified_gmt":"2023-04-12T04:38:49","slug":"deprecated-php-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/deprecated-php-3\/","title":{"rendered":"Deprecated PHP"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<br \/>Can you please fix the following deprecated PHP:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">FILE: src\/GridGallery\/Optimization\/Model\/Encrypt.php<br \/>FOUND 13 ERRORS AND 0 WARNINGS AFFECTING 7 LINES<br \/><code>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<\/code><br \/><code>14 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead<\/code><br \/><code>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<\/code><br \/><code>15 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead<\/code><br \/><code>15 | ERROR | The constant \"MCRYPT_RAND\" is deprecated since PHP 7.1 and removed since PHP 7.2<\/code><br \/><code>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<\/code><br \/><code>16 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead<\/code><br \/><code>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<\/code><br \/><code>29 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead<\/code><br \/><code>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<\/code><br \/><code>35 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead<\/code><br \/><code>45 | ERROR | The constant \"MCRYPT_RIJNDAEL_128\" is deprecated since PHP 7.1 and removed since PHP 7.2<\/code><br \/><code>48 | ERROR | The constant \"MCRYPT_MODE_CBC\" is deprecated since PHP 7.1 and removed since PHP 7.2<\/code><\/p>\n","protected":false},"template":"","class_list":["post-16646892","topic","type-topic","status-publish","hentry","topic-tag-deprecated-php","topic-tag-mcrypt","topic-tag-openssl"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16646892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16646892\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16646892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}