Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter shmulim

    (@shmulim)

    The compatibility checker outputs these required fixes:

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/controllers/GalleryController.php
    ——————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————
    113 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ——————————————————————————————————————————

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/controllers/AdminController.php
    —————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————-
    60 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    —————————————————————————————————————————-

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/src/psr4/BasePhpFastCache.php
    —————————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————————–
    424 | WARNING | Method name “BasePhpFastCache::__setChmodAuto” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    —————————————————————————————————————————————————————–

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/src/psr4/phpFastCache.php
    ————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————————-
    168 | WARNING | Method name “phpFastCache::__setChmodAuto” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————————————-

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/phpfastcache/src/lib/functions.php
    ———————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————–
    12 | WARNING | Function name “__c” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ———————————————————————————————————————————————–

    FILE: /example.com/wp-content/plugins/_simple-post-gallery/vendor/amostajo/wordpress-plugin-core/src/psr4/Plugin.php
    ——————————————————————————————————————————————————
    FOUND 4 ERRORS AFFECTING 4 LINES
    ——————————————————————————————————————————————————
    334 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    343 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    352 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    358 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ——————————————————————————————————————————————————

    Plugin Contributor 10Quality

    (@10quality)

    Thanks for reporting… we will work on compatibility issues with PHP7 for an October release.

    Plugin Contributor 10Quality

    (@10quality)

    Thanks for reporting. We’ll work on compatibility for October’s release.
    Duplicated message.

    • This reply was modified 7 years, 6 months ago by 10Quality.
    Thread Starter shmulim

    (@shmulim)

    Hey, do you have an update on this?

    Plugin Contributor 10Quality

    (@10quality)

    Not yet, we have to evaluate vendor packages as well.

    In the mean time we recommend to hide DEPRECATED notices on wordpress so you don’t run into troubles.

    You can add this line on you wp-config.php file:

    error_reporting(E_ALL ^ E_DEPRECATED);

    Regards.

    Plugin Contributor 10Quality

    (@10quality)

    New version of the plugin to be released (version 2) soon was tested on php 7.1.9 and ran with no reported fatal errors.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP7 Compatability’ is closed to new replies.