Undefined offset in browser.php

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
SForsgren
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Fri May 12, 2006 2:46 am

Undefined offset in browser.php

Postby SForsgren » Sun Aug 13, 2017 3:17 am

I am on Joomla 3.7.4 and seeing this in error_log. Anyone else seen this or know what may be causing it?

Thank you

[13-Aug-2017 02:40:04 UTC] PHP Notice: Undefined offset: 1 in /home/lymej0/public_html/libraries/joomla/environment/browser.php on line 282

SForsgren
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Fri May 12, 2006 2:46 am

Re: Undefined offset in browser.php

Postby SForsgren » Sun Aug 13, 2017 3:19 am

Additional information: PHP Version 5.6.31
Thank you

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8537
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Undefined offset in browser.php

Postby toivo » Sun Aug 13, 2017 7:06 am

This is only a PHP notice, not an error. This notice is given if the user agent (UA) string in the HTTP request header contains the word 'Chrome' but no version number.

Browsers have user agent switchers or extensions that change the user agent, as seen by websites. One can also customise the UA string. User agents are also spoofed by bots, crawlers and scanners.

More info:
https://developer.mozilla.org/en-US/doc ... er_version
https://www.howtogeek.com/113439/how-to ... xtensions/
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

SForsgren
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Fri May 12, 2006 2:46 am

Re: Undefined offset in browser.php

Postby SForsgren » Sun Aug 13, 2017 3:02 pm

Thank you Toivo.


Return to “Administration Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 6 guests