• Resolved Zee

    (@laserjobs)


    I see a note on a plugin revision for PHP 7 and ran it through PHP Compatibility Checker and wondered if any of the following will create an issue?

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/Zend/Cache/Backend/File.php
    ——————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    487 | WARNING | Method name “Zend_Cache_Backend_File::___expire” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ——————————————————————————————————————————————————————-

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/language-detect/LanguageDetect/Parser.php
    ——————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    105 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————————————-

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/language-detect/LanguageDetect.php
    ————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————————
    254 | WARNING | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————————————————————————

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/simplepie/library/SimplePie/Item.php
    ————————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————————–
    125 | WARNING | INI directive ‘zend.ze1_compatibility_mode’ is removed since PHP 5.3.
    ————————————————————————————————————————————————————–

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/simplepie/library/SimplePie/File.php
    ————————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————————–
    110 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————————————————————————–

    FILE: xxx/wp-content/plugins/cybersyn/fivefilters-full-text-rss/libraries/simplepie/library/SimplePie.php
    ———————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————
    668 | WARNING | INI directive ‘zend.ze1_compatibility_mode’ is removed since PHP 5.3.
    ———————————————————————————————————————————————————

    FILE: xxx/wp-content/plugins/cybersyn/cybersyn-options.php
    ———————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————-
    71 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ———————————————————————————————————-

    FILE: xxx/wp-content/plugins/cybersyn/cybersyn.php
    ————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————–
    128 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————–

Viewing 1 replies (of 1 total)
  • Plugin Contributor cyberseo

    (@cyberseo)

    The ini_get(‘safe_mode’) call in CyberSyn will simple return FALSE by PHP 5.4+ and no error will arise. This function call is needed for compatibility with older versions of PHP only.

    As about all other warnings regarding fivefilters-full-text-rss, so it’s a 3rd-party GPL code which is included into the distributive “AS IS” (https://bitbucket.org/fivefilters/full-text-rss). If the developers fix it, I’ll be happy to update it in the CyberSyn distributive.

    Anyways, as far as I know, the full text extraction feature works fine with PHP 7, because Warnings are not errors.

Viewing 1 replies (of 1 total)

The topic ‘PHP 7 compatibility’ is closed to new replies.