• Resolved Andy Fragen

    (@afragen)


    I’m see a bunch of these PHP Notices in my log since the most recent update, version 4.0.6

    
    [21-May-2018 14:08:43 UTC] PHP Notice:  Undefined index: REQUEST_SCHEME in /home/xxxxxxx/public_html/wp-content/plugins/sg-cachepress/class-sg-cachepress-multisite.php on line 90
    • This topic was modified 6 years, 10 months ago by Andy Fragen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Andy Fragen

    (@afragen)

    Changing line 90 to the following fixes the issue.

    $scheme = isset( $_SERVER['REQUEST_SCHEME'] ) ? $_SERVER['REQUEST_SCHEME'] : null;

    I’m seeing the same issue; this notice is filling up the log on my multisite.

    Thanks, Andy…I’ve made your fix and so far so good. Hope to see a permanent fix in the next release.

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Thank you for reporting this. It’s fixed in the latest plugin version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Notice with latest update’ is closed to new replies.