PHP 7.0相容性問題

發佈日期 2018-05-02 分類 智付寶電子發票
1 2018-04-30

PHP 7.0相容性問題:

你好,我用PHP Compatibility Checker 外掛測試後發現這支外掛有PHP 7的錯誤,特此回報給你參考:

FILE: /home/imcoach/public_html/wp-content/plugins/cw-pay2go-ei/includes/class_cw-pay2go-ei.php
———————————————————————————————————————————————————
FOUND 4 ERRORS AND 1 WARNING AFFECTING 2 LINES
———————————————————————————————————————————————————
456 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
456 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
456 | ERROR | The constant “MCRYPT_RIJNDAEL_128” is deprecated since PHP 7.1 and removed since PHP 7.2
456 | ERROR | The constant “MCRYPT_MODE_CBC” is deprecated since PHP 7.1 and removed since PHP 7.2
843 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————————————————————

FILE: /home/imcoach/public_html/wp-content/plugins/cw-pay2go-ei/plugin-updates/vendor/Parsedown.php
—————————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————————————————————-
1412 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.

  • 說讚的人有
0 2018-05-02

感謝你的回報,我們會儘快檢查並發佈更新。

  • 說讚的人有
回覆
取消
預覽你的訊息