• Resolved Marty

    (@bozzmedia)


    Is this plugin PHP7 compatible? I get the following when I run the PHP 7 compatibility checker:

    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdi/filters/FilterLZW.php
    ---------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------
     156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
    ---------------------------------------------------------------------------------------------
    
    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdf/makefont/makefont.php
    ---------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------
     316 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    ---------------------------------------------------------------------------------------------------------
    
    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdf/fpdf.php
    ----------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------
     1013 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    ----------------------------------------------------------------------------------------------------------
    
    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/woo-includes/woo-functions.php
    ---------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------
    
    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/classes/class_wwpdf_download_handler_22.php
    -----------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    -----------------------------------------------------------------------------------------------------------
     311 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
     315 | ERROR   | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    -----------------------------------------------------------------------------------------------------------
    
    FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/classes/class_wwpdf_download_handler_23.php
    -----------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    -----------------------------------------------------------------------------------------------------------
     349 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
     353 | ERROR   | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    -----------------------------------------------------------------------------------------------------------

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Little Package

    (@littlepackage)

    Hi there,

    I looked through these errors from your compatibility checker. They all have provisions and the plugin should still work just fine. I’ve made some minor changes for the next release, though, just to make it a little more “kosher.” I can’t say when I’ll release it, but it will be released. 🙂 Thank you.

    Thread Starter Marty

    (@bozzmedia)

    Excellent, thank you!

    Plugin Author Little Package

    (@littlepackage)

    I’ve released version 1.2.6 of WaterWoo, which addresses some of these issues. None of them were deal-breakers, and some of them I ignored. To put this simply, the bot parsing these errors picks up false positives. It’s PHP 7 ready, and was also already ready. 🙂

    Thread Starter Marty

    (@bozzmedia)

    Fantastic, many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP7’ is closed to new replies.