WordPress.org

Ready to get started?Download WordPress

Forums

QR code generator
[resolved] [PATCH] Use of undefined constant HTTP_HOST (5 posts)

  1. flynsarmy
    Member
    Posted 1 year ago #

    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/

  2. flynsarmy
    Member
    Posted 1 year ago #

    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.

  3. Rene Hermenau
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. Rene Hermenau
    Member
    Plugin Author

    Posted 1 year ago #

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

  5. Rene Hermenau
    Member
    Plugin Author

    Posted 1 year ago #

    Closed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic