• Resolved Vishal Lohar

    (@vlohar08)


    I wanted to update my site PHP to PHP 8.3 and found some errors in the Compatibility Check Report.

    Please take a look at the CSV code and fix them ASAP.

    Thank you.

    File,Message,Column Number,Line
    wp-social/lib/composer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php.,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,18,787
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,18,787
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,30,820
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,30,820
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,40,823
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,40,823
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,36,82
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,36,828
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,28,837
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,28,837
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,28,847
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,28,847
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,18,850
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,18,850
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,18,1127
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,18,1127
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,35,1155
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,35,1155
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,28,1160
    ,Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,28,1160
    ,Function mdecrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,27,1169
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,18,1172
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,18,1172
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,61,1654
    ,Function mcrypt_list_algorithms() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,61,1654
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,14,1733
    ,Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,14,1733
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,14,1734
    ,Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,14,1734
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,18,1739
    ,Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,18,1739
    ,"The constant ""MCRYPT_MODE_ECB"" is deprecated since PHP 7.1 and removed since PHP 7.2",38,1846
    ,"The constant ""MCRYPT_MODE_CBC"" is deprecated since PHP 7.1 and removed since PHP 7.2",38,1847
    ,"The constant ""MCRYPT_MODE_CFB"" is deprecated since PHP 7.1 and removed since PHP 7.2",38,1849
    ,"The constant ""MCRYPT_MODE_NOFB"" is deprecated since PHP 7.1 and removed since PHP 7.2",38,1850
    ,"The constant ""MCRYPT_MODE_STREAM"" is deprecated since PHP 7.1 and removed since PHP 7.2",38,1851
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,32,1854
    ,Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,32,1854
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,32,1855
    ,Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,32,1855
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,31,1861
    ,Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,31,1861
    ,"The constant ""MCRYPT_MODE_ECB"" is deprecated since PHP 7.1 and removed since PHP 7.2",81,1861
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,14,1866
    ,Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead,14,1866
    File,Message,Column Number,Line
    wp-social/lib/composer/vendor/hybridauth/hybridauth/src/Thirdparty/OpenID/LightOpenID.php.,"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 ""$params"" was changed on line 432.",29,526
    File,Message,Column Number,Line
    wp-social/lib/composer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php.,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,25,69
    ,Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead,25,69
    ,Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead,25,111
    ,Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead,25,111
    ,"The constant ""MCRYPT_DEV_URANDOM"" is deprecated since PHP 7.1 and removed since PHP 7.2",51,111
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ahmed Amir Hossain

    (@ahmedamir)

    Hi Vishal Lohar,

    Thanks for reaching out to us.

    Please make sure you are using the latest version of the Wp Social plugin. If the issue with the current version then please run a conflict test on your end. To do so, first of all, switch your theme to a default theme like 2020 and check if the issue is still persists. If that solves your issue, that means the issue is related to the theme you are using.

    If switching to the default theme also doesn’t help, then please check if there are any conflicts between the installed plugin. To troubleshoot the issue, please deactivate other plugins except for Wp Social and check if the issue still persists. If that solves your problem, activate the plugins one by one, and continue checking the issue In this way you will be able to detect which one causes the problem. ?

    Let me know your findings after performing the conflict test. If the issue persists even after that, let us know. We will take a closer look at this issue and help you to find a solution as soon as possible.

    Waiting for your response.

    Regards,
    Amir

    The phpseclib issues are not legit. phpseclib 2.0 works on PHP 5.3+. As your report says, mcrypt has been “deprecated since PHP 7.1 and removed since PHP 7.2”. So should phpseclib 2.0 screw over PHP 5.3-7.1 users just to check off a meaningless checkbox on a static analysis tool?

    Even on PHP 5.3-7.1, mcrypt is only used if available and even then only if OpenSSL is not available. If you want to see the source code that facilities all this lmk and I’ll post it.

    That said, the latest version of phpseclib (currently) is 3.0, which requires PHP 5.6+. mcrypt is still used on that as 5.6 is still less than 7.1, but 2.0 is none-the-less supported as well in an LTS capacity. And “Wp Social Login and Register Social Counter” is using phpseclib 2.0 (or 1.0) as evidenced by the fact by the fact that the filename is Crypt/Base.php vs Crypt/Common/SymmetricKey.php.

    Plugin Support Ahmed Amir Hossain

    (@ahmedamir)

    Hi TerraFrost,

    Hope you are doing fine. Thank you so much for bringing it to our attention. I like to inform you that we will update the phpseclib to the the latest version (3.0) in the next release of the Wp Social plugin. Till then stay with us.

    Let us know if there is anything else that you need help with.

    Regards,
    Amir

    Thread Starter Vishal Lohar

    (@vlohar08)

    Any update on the new version?

    Plugin Support Ahmed Amir Hossain

    (@ahmedamir)

    Hi Vishal Loha,

    I hope you’re doing well. I’m pleased to let you know that our development team is actively addressing all the issues, and the next version of the Wpsocial plugin is set to be released the next week. Thank you for your continued support of Wpmet.

    If you need any further assistance, please feel free to contact us.

    Best regards,
    Amir

    Plugin Support Ahmed Amir Hossain

    (@ahmedamir)

    Hi?Vishal Loha,
    Hope you are doing fine. We are pleased to announce the release of the Wpsocial plugin’s latest update, version 3.0.5. This update includes the integration of the most recent version of phpseclib. Please verify the changes on your end, and feel free to reach out if you require any further assistance.

    Regards,
    Amir

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.