• Resolved sokolby

    (@sokolby)


    Hi,

    this plugin not compatible with PHP 7.3, can you fix it?

    FILE: /wp-content/plugins/woocommerce-shipstation-integration/includes/api-requests/class-wc-shipstation-api-shipnotify.php
    —————————————————————————————————————————————–
    FOUND 4 ERRORS AFFECTING 4 LINES
    —————————————————————————————————————————————–
    122 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    124 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    125 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    128 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
    —————————————————————————————————————————————–

Viewing 1 replies (of 1 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @sokolby!

    The compatibility checker doesn’t check on what version the code is written for, as it’s kept in place to be backward compatible and used in lower versions of PHP.

    The $HTTP_RAW_POST_DATA was added for backward compatibility and follows the same method as is still used in WordPress core. When the code is run on PHP7 it does actually use php://input so these shouldn’t cause any errors.

    If there are any errors caused when the plugin is actually being run, please do come back and let us know and we’ll be happy to take a closer look. Otherwise, if they’re only coming from a compatibility checker, please keep in mind they won’t affect how the site functions.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.3 compatibility’ is closed to new replies.