• Resolved Amandomino

    (@amandomino)


    Hello. Love this plugin and want to remain using it but I am going to upgrade to PHP 7 and I got these warnings when checking compatibility:

    FILE: /home/makingstarwars/public_html/wp-content/plugins/ad-inserter/ad-inserter.php
    -----------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------------------
     4343 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
     4350 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
     4357 | WARNING | Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
    -----------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/makingstarwars/public_html/wp-content/plugins/ad-inserter/includes/phpQuery_52.php
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
    ------------------------------------------------------------------------------------------------------------
     1035 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2086 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2093 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead

    I used PHP Compatibility Checker plugin.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello, the plugin is compatible up to PHP 7.2.

    First 3 warnings will be fixed in the next version, file phpQuery_52.php is used only for PHP 5.2 and earlier versions.

    Thread Starter Amandomino

    (@amandomino)

    Thanks for the quick response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 compatibility warnings’ is closed to new replies.