Support » Plugin: Disqus Comment System » Undefined index: HTTP_HOST

  • My logs are full of these:

    [29-Mar-2018 15:10:02 UTC] PHP Notice: Undefined index: HTTP_HOST in /app/wp-content/plugins/disqus-comment-system/admin/class-disqus-admin.php on line 167

    Just a heads-up so it’s fixed on the next release.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • We are having the same issue. I believe it’s occurring because we have define('DISABLE_WP_CRON', true); and are running our cron with a real cron job using php /path/to/wp-cron.php

    We resolved by updating line 167 to…

    $current_host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '';

    If you could roll a fix for this into the next update it would be most appreciated. 🙂

    • This reply was modified 1 year, 1 month ago by  fetchdesigns.

    Thank you, @fetchdesigns! Will apply that fix to my installation.

    Just checking on the status of this. It looks like it’s not yet fixed in the current version (3.0.16).

    Thanks in advance!

    +1

    BobsBURGS

    (@bobbysburgers)

    Having the same issue.

    Me to…

    /usr/bin/php -q /home/xxx/xxx/docs/wp-cron.php

    Notice: Undefined index: HTTP_HOST in /home/jen/wordpresslive/docs/wp-content/plugins/jetpack/sync/class.jetpack-sync-listener.php on line 307

    Night months and no feedback or fix. Is this plugin supported?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.