• Resolved gusisilva

    (@gusisilva)


    Executing a php8 compatibility scan by vendor/bin/phpcs -p . --standard=PHPCompatibilityWP --runtime-set testVersion 8.0 --extensions=php --report-full=compati.txt I found:

    FILE: ...wp-content/plugins/bb-ultimate-addon/modules/uabb-login-form/includes/vendor/guzzlehttp/promises/src/functions.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ------------------------------------------------------------------------------------------------------------------------
     222 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
     257 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
     313 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    ------------------------------------------------------------------------------------------------------------------------
    
    FILE: ...tent/plugins/bb-ultimate-addon/modules/uabb-login-form/includes/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     10 | WARNING | INI directive 'mbstring.func_overload' is deprecated since PHP 7.2
    ------------------------------------------------------------------------------------------------------------------------
    
    FILE: ...ent/plugins/bb-ultimate-addon/modules/uabb-login-form/includes/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 45 ERRORS AND 2 WARNINGS AFFECTING 27 LINES
    ------------------------------------------------------------------------------------------------------------------------
      610 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original
          |         | value as passed to a parameter, but will instead provide the current value. The parameter "$method"
          |         | was used, and possibly changed (by reference), on line 608.
      792 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      792 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
      825 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      825 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
      828 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      828 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
      833 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      833 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
      842 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      842 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
      852 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      852 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
      855 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
      855 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1132 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1132 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1160 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1160 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
     1165 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1165 | ERROR   | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
     1174 | ERROR   | Function mdecrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1177 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1177 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1659 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1659 | ERROR   | Function mcrypt_list_algorithms() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1738 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1738 | ERROR   | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1739 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1739 | ERROR   | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1744 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1744 | ERROR   | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1851 | ERROR   | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 and removed since PHP 7.2
     1852 | ERROR   | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
     1854 | ERROR   | The constant "MCRYPT_MODE_CFB" is deprecated since PHP 7.1 and removed since PHP 7.2
     1855 | ERROR   | The constant "MCRYPT_MODE_NOFB" is deprecated since PHP 7.1 and removed since PHP 7.2
     1856 | ERROR   | The constant "MCRYPT_MODE_STREAM" is deprecated since PHP 7.1 and removed since PHP 7.2
     1859 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1859 | ERROR   | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1860 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1860 | ERROR   | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1866 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1866 | ERROR   | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     1866 | ERROR   | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 and removed since PHP 7.2
     1871 | ERROR   | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
          |         | pecl/mcrypt once available instead
     1871 | ERROR   | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL
          |         | instead
     2610 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ------------------------------------------------------------------------------------------------------------------------
    
    FILE: ...t/plugins/bb-ultimate-addon/modules/uabb-login-form/includes/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 5 ERRORS AFFECTING 2 LINES
    ------------------------------------------------------------------------------------------------------------------------
      69 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
         |       | pecl/mcrypt once available instead
      69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or
         |       | OpenSSL instead
     108 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or
         |       | pecl/mcrypt once available instead
     108 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or
         |       | OpenSSL instead
     108 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 and removed since PHP 7.2
    ------------------------------------------------------------------------------------------------------------------------
    
    FILE: ...lugins/bb-ultimate-addon/modules/uabb-login-form/includes/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/Stream.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     182 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$host}
    ------------------------------------------------------------------------------------------------------------------------
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support bsfankusht

    (@iankusht)

    Hi @gusisilva,

    I had checked, and these warnings are related to a third-party library that we had used in the UABB Login Form. So, once the library author fix the issues will update the library in the UABB Plugin.

    Further, these are the only warnings related to deprecated functions in the library, and this will not break any core functionality in the plugin.

    But if you are facing any issue related to the functionality, do let us know.

    Kind regards,
    Ankush ??

    Plugin Support Herman Asrori (BSF)

    (@bsfherman)

    Hi,

    Since we heard nothing from you for a while, I am going to mark this topic as Resolved. Feel free to reply to this thread or open a new topic if you need further assistance.

    Kind regards,
    Herman ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning / Error compatibility PHP 8.0’ is closed to new replies.