• Resolved joycegrace

    (@joycegrace)


    Hi, I’m running WP Engine’s PHP 7 compatibility check plugin and this plugin comes up with warnings:

    FILE: /.../wp-content/plugins/wp-image-compression/lib/stripe/StripeObject.php
    --------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------------------------------------------------------------------------------------
     269 | WARNING | Method name "StripeObject::__toJSON" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
     284 | WARNING | Method name "StripeObject::__toArray" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    --------------------------------------------------------------------------------------------------------------------------------------------------------

    Will these be fixed? Are we ok to upgrade to PHP 7 anyway, or do you expect a break as a result of this specific plugin’s warnings? Are these false positives? Something to ignore?

    Thanks!

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

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