Support » Plugin: Social Media Auto Publish » PHP 7 Support?

  • The PHP Compatibility Checker from WP Engine reports two errors and two warnings with the SMAP plugin:

    FILE: /home/webhero7/public_html/wp-content/plugins/xyz-wp-smap/api/twitteroauth.php
    -----------------------------------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------------------------------
     14 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__DIR__' (since version 5.3)
     14 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__DIR__' (since version 5.3)
    -----------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/webhero7/public_html/wp-content/plugins/xyz-wp-smap/xyz-update-plugin.php
    -------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
    -------------------------------------------------------------------------------------
     3 | WARNING | Function dl() is deprecated since PHP 5.3
     3 | WARNING | Function dl() is deprecated since PHP 5.3
    -------------------------------------------------------------------------------------

    Do you plan on making compatible with PHP 7 soon?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • @stephane74
    This issue has already been resolved,please get the latest version.
    For premium plugin support and enquires please contact our support desk.
    This forum is for the support of Social Media Auto Publish(free version).
    Thank you

    Thread Starter WebHostingHero

    (@stephane74)

    I’ve downloaded version 3.2.2 and now it throws some compatibility errors with PHP 7.2:

    FILE: /home/webhero7/public_html/wp-content/plugins/xyz-wp-smap/api/Facebook/PseudoRandomString/McryptPseudoRandomStringGenerator.php
    ------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------------------------------------
     57 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
     57 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
     57 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 and removed since PHP 7.2
    ------------------------------------------------------------------------------------------------------------------------------------------------------

    We will correct this compatibility issues in the upcoming release.
    Thank you for the support & feedback.

    Hi,

    it there any release date, where the fixes are included?

    Alex

    We are working on Facebook posting issue, which require review response from Facebook, the update will be released when Facebook approve our app.
    Thank you for the feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 7 Support?’ is closed to new replies.