Support » Plugin: ShrimpTest » PHP 7 Compatibility

  • I ran the PHP Compatibility Checker plugin https://wordpress.org/plugins/php-compatibility-checker/
    checking for PHP 7 compatibility and got this result for this plugin:

    FILE: wp-content/plugins/shrimptest/classes/interface.php
    ------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     54 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/classes/model.php
    ------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     67 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/classes/core.php
    ------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ------------------------------------------------------------------------------------
     105 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
     145 | ERROR   | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/shrimptest-cache-plugin.php
    ------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     80 | ERROR | Using 'continue' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/plugins/variant-title.php
    ------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     54 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/plugins/metric-conversion.php
    ------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     64 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ------------------------------------------------------------------------------------
    
    FILE: wp-content/plugins/shrimptest/plugins/variant-shortcode.php
    ------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------
     62 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    -----------------------------------------------------------------------------------
Viewing 2 replies - 1 through 2 (of 2 total)
  • @joyously

    Hi- Thank you for writing the forums.

    On a quick search, I discern that shrimptest seems to be an older plugin that hasn’t been under active development for some time.

    Is that what you were looking for confirmation of?

    Will you write back to let us know how you go with this?

    I’m not sure what you are asking, but I posted this because I had it available. I had the plugin on a site, so when I ran the compatibility checker, it gave this information. I was just posting it here for posterity, because I doubt that this plugin will get updated but others don’t have to run the test themselves now.

    There is a big push underway to get plugins to list their PHP compatibility in their readme.txt files, and to prevent installation or updates of a plugin that is incompatible with the version on the site. I am going through the motions manually in advance of it being automated (because I want to move my client sites to PHP 7).

    • This reply was modified 3 months, 1 week ago by  Joy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.