- Issue created by @sah62
- πΊπΈUnited States bluegeek9
Hi @sah62,
Thank you for reporting the error.
The array keys are related to this report β¨ Browser Plugin Report Active .
java is for java
fla is for flash
pdf is for PDF
ag is for Silverlight
wma is for Windows Media Audio
realp is for Real Player
qt is for Quick Time.There is also cookie; if the browser supports cookies, but the URL includes that one.
cookie=1
https://www.mysite.org/visitors/_track
In 8.x-2.15, we changed how visits are tracked. We use to track the visits when a page was generated server side. This has a number of draw backs, so we began tracking visits with JavaScript: /visitors/_track is the path the JavaScript POSTs to.β¨ Log visits with ajax Fixed
In 8.x-2.16 we began logging browser plugin support.
Which web server are you using? Do you know what the URL length limit is on the web server?
The data is being truncated. The last item in the url query is too small. It is the refer URL, the previous page visited.urlref=https%3A%2F%2Fwww.mysite.org%2Fspeedo-calc
There should be an option on your web server to increase the URL length.
To verify my theory, you can look in your web browser's network tab, and find the post to https://www.mysite.org/visitors/_track. Uou should see java, fla, and the other missing keys in the URL's query.
- πΊπΈUnited States sah62 US
I'm using nginx/1.18.0. I have client_max_body_size set to 500M in nginx.conf.
- πΊπΈUnited States bluegeek9
Humm
I can update the code so there are not warning about undefined array keys. I am not sure why the browser plugins are not defined. Unless, they are absent due to inability to detect.
The visitor was on a mobile phone, Samsung Galaxy Ultra SM. It could be something about the device, but you said there are many warnings.
I can understand redacting your site's name from the error. It would be helpful if I could look at the site. Maybe send me a DM of the site's address.
Direct Message β - last update
over 1 year ago 56 pass - @bluegeek9 opened merge request.
- last update
over 1 year ago 56 pass - last update
over 1 year ago 56 pass -
bluegeek9 β
committed a3d5290e on 8.x-2.x
Issue #3380760: Warning: Undefined array key
-
bluegeek9 β
committed a3d5290e on 8.x-2.x
- Status changed to Fixed
over 1 year ago 8:49pm 14 August 2023 - πΉπThailand AlfTheCat
Hi, sorry for the delay in my reply and thanks for all the activity and the info.
I will apply the latest update, if you need any further info from my side please let me know and I'll provide whatever I can.
Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
6 months ago 3:47pm 22 May 2024 - πΊπΈUnited States bluegeek9
This issue was resolved. A new release, 8.x-2.17, will be made soon, May 31st.
This is an excellent opportunity to beta test the dev branch, and report any issues.
Contributors (5)
bluegeek9 β , roshni27 β , abhishek_gupta1 β , sarwan_verma β , SandeepSingh199 β
Changelog
Issues: 32 issues resolved.
Changes since 8.x-2.16 β :
Bug
- #3432630 β : Remove Not rendering HTML
- #3395217 β by bluegeek9 β : On a fresh install of a Drupal site with this module included, we get dependency errors
- #3400985 β by bluegeek9 β : Site break when placed visitors module
- #3413155 β by abhishek_gupta1 β , bluegeek9 β : Give Default value to all $agent keys
- #3383142 β by bluegeek9 β : ParseError: syntax error, unexpected
- #3380760 β : Warning: Undefined array key
Feature
- #3376256 β : Page Performance Metrics
- #3378568 β : Ajax Replace Report
- #3376234 β : Route reports
- #3378580 β : Browser Report(s)
- #1087268 β by bluegeek9 β : Exclude robots from the statistics
- #3376233 β by bluegeek9 β : View filter date range
- #3369318 β : Log OS and device infomation - BrowserCap replacement
- #3376235 β by bluegeek9 β : Drush command: Download MaxMind database
- #3250285 β by bluegeek9 β : Performance: Add db indexes
Task
- #3389685 β : Three different errors displayed
- #3376397 β by bluegeek9 β , roshni27 β : Remove block settings from visitors.config
- #3376392 β : Move Visitors Report menu
- #3444385 β : Module path
- #3443031 β by bluegeek9 β : Issues reported by PHPCS
- #3392006 β by bluegeek9 β , sarwan_verma β : watchdog_exception() deprecated
- #3423013 β : Deprecated function user_role_names()
- #3423001 β by bluegeek9 β : composer.json missing "repositories"
- #3397326 β by bluegeek9 β , SandeepSingh199 β : Issues reported by PHPStan
- #3401384 β : Remove Drupal 9 from GitLab CI
- #3393046 β by bluegeek9 β : Code Coverage
- #3377961 β : Replace visitors/hosts reports with views
- #3377962 β : Replace visitors/hits with Views
- #3377964 β : Replace /visitors/pages with Views
- #3377960 β by bluegeek9 β : Log visitor local time
- #3376241 β : Drush Command: Rebuild Geo Location
- #3377958 β : Tracking cookies
- πΉπThailand AlfTheCat
Hi @bluegeek9 very excited about the new release, I'll be running with it in the coming days :)