• Resolved felipelungov

    (@felipelungov)


    I have been getting the following notices:

    Notice: Undefined index: HTTP_USER_AGENT in /[path-to]/wp-content/plugins/wordpress-popup/inc/hustle-module-front.php on line 120
    
    Notice: Undefined index: HTTP_USER_AGENT in /[path-to]/wp-content/plugins/wordpress-popup/inc/hustle-module-front.php on line 142

    Everything seems to be working properly, but you may want to have a look at it.

    WP: 5.1
    PHP: 7.1.26

    Happy to provide any more relevant details!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @felipelungov

    Hope you are doing well!

    I could not replicate this issue on my end. This is a notice and doesn’t have an impact on the site’s functionality. However, I ‘ve informed our developers about this notice.

    If this is showing up on a site’s front end, please edit the wp-config.php file, locate this line define( 'WP_DEBUG', true ); and replace it with this define( 'WP_DEBUG', false );

    Thank you for letting us know about it!

    Cheers,
    Nastia

    Thread Starter felipelungov

    (@felipelungov)

    Thank you Nastia. They are not being displayed to end users, but it is filling up my error log quickly every time I clear it.

    Looking at the documentation, $_SERVER[‘HTTP_USER_AGENT’] will not always return something. So an isset would be an easy fix.

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @felipelungov,

    We have reported this to Hustle developers and they will be checking this issue.

    kind regards,
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice: Undefined index: HTTP_USER_AGENT’ is closed to new replies.