• therealgilles

    (@chamois_blanc)


    I am getting the following warning when running wp.cron.php directly through php:

    wp-content/plugins/merge-minify-refresh/merge-minify-refresh.php on line 115

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter therealgilles

    (@chamois_blanc)

    A possible fix would look like this:

    $this->host = array_key_exists('HTTP_HOST', $_SERVER) ? $_SERVER['HTTP_HOST'] : 'localhost';

    The problem persists:
    PHP Notice: Undefined index: HTTP_HOST in /....../wp-content/plugins/merge-minify-refresh/merge-minify-refresh.php on line 115

    Please, apply the fix. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP notice when running php cron.php’ is closed to new replies.