• Resolved flynsarmy

    (@flynsarmy)


    With WP_Debug turned on I was getting:

    Notice: Use of undefined constant HTTP_HOST – assumed ‘HTTP_HOST’ in /path/to/wp-content/plugins/qrcode-wprhe/qrcode_wprhe.php on line 50

    Change

    $current_uri = 'http://' . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI] . '';

    to

    $current_uri = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . '';

    http://wordpress.org/extend/plugins/qrcode-wprhe/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter flynsarmy

    (@flynsarmy)

    Ipstenu you closed my other post when you shouldn’t have.

    They are separate issues and warrant separate issue entries. It’s stupid to clump them all together and you don’t see that behavior on any other issue tracker anywhere.

    Plugin Contributor Rene Hermenau

    (@renehermi)

    Thanks flynsarmy. Great Job. It´s updated now.
    Unfortunately i do not get any notifications, when someone is opening a isse. Otherwiese i had fixed it sooner.

    Plugin Contributor Rene Hermenau

    (@renehermi)

    It’s also also fixed your mentioned bug of missing </div> Thank you!

    Plugin Contributor Rene Hermenau

    (@renehermi)

    Closed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[PATCH] Use of undefined constant HTTP_HOST’ is closed to new replies.