• Resolved Vincent Poirier

    (@magikweb)


    This warning:

    Warning: Undefined array key “REQUEST_METHOD” in /home/customer/www/librairiewilsonlafleur.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php on line 17

    Shows up when crons are running through the Site Tools. We changed the code for this snippet to silence it, but we thought it could be useful to make you aware of it:

    if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] !== 'GET' ) { //phpcs:ignore
    return;
    }

    If there’s a follow-up or a better fix, let us know.

Viewing 1 replies (of 1 total)
  • Plugin Support Preslav Kenanov

    (@preslavkenanov)

    Hello @magikweb,

    Thank you for reporting this and for sharing the temporary adjustment you have made.

    This issue has already been forwarded to the development team of the Speed Optimizer plugin. As such, we expect the issue to be addressed and resolved in the upcoming releases of the plugin. Your workaround is a valid temporary measure until the update becomes available.

    Kind Regards,
    Preslav Kenanov

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.