Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes whos_online logs #6482

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

scottcwilson
Copy link
Sponsor Contributor

[24-May-2024 19:39:30 Europe/London] Request URI: /catalog/admin/index.php?cmd=whos_online&q=time_last_click-desc, IP address: 86.129.104.124, Language id 1
#1  WhosOnline->inspectSessionCart() called at [/home/client/catalog/admin/includes/classes/WhosOnline.php:249]
#2  WhosOnline->getStatusCode() called at [/home/client/catalog/admin/includes/classes/WhosOnline.php:157]
#3  WhosOnline->retrieve() called at [/home/client/catalog/admin/whos_online.php:52]
#4  require(/home/client/catalog/admin/whos_online.php) called at [/home/e-smith/files/ibays/sw-zen/html/catalog/admin/index.php:16]
--> PHP Warning: Undefined array key "currency" in /home/client/catalog/admin/includes/classes/WhosOnline.php on line 358.
- duplicated 

[24-May-2024 19:39:30 Europe/London] Request URI: /catalog/admin/index.php?cmd=whos_online&q=time_last_click-desc, IP address: 86.129.104.124, Language id 1
#1  require(/home/client/catalog/admin/whos_online.php) called at [/home/e-smith/files/ibays/sw-zen/html/catalog/admin/index.php:16]
--> PHP Warning: Undefined array key "products" in /home/client/catalog/admin/whos_online.php on line 297.

[24-May-2024 19:39:30 Europe/London] Request URI: /catalog/admin/index.php?cmd=whos_online&q=time_last_click-desc, IP address: 86.129.104.124, Language id 1
#1  require(/home/client/catalog/admin/whos_online.php) called at [/home/e-smith/files/ibays/sw-zen/html/catalog/admin/index.php:16]
--> PHP Warning: foreach() argument must be of type array|object, null given in /home/client/catalog/admin/whos_online.php on line 297.


admin/whos_online.php Outdated Show resolved Hide resolved
@drbyte
Copy link
Member

drbyte commented May 24, 2024

Do we have any idea how this got triggered? What sort of customer activity precipitated this?

@scottcwilson
Copy link
Sponsor Contributor Author

Nope. None whatsoever.

@scottcwilson
Copy link
Sponsor Contributor Author

Going to soak this for a week then remove the "Do Not Merge" tag.

@scottcwilson
Copy link
Sponsor Contributor Author

Seems safe to merge. No issues seen in the field.

@scottcwilson
Copy link
Sponsor Contributor Author

[04-Jun-2024 16:21:13 Europe/London] Request URI: /catalog/admin/index.php?cmd=whos_online&q=time_last_click-desc&t=15&inspect=cps9ogrhmmrmm9qrd380s8buh1, IP address: 81.143.33.105, Language id 1
#0 /home/client/catalog/includes/classes/shopping_cart.php(657): zen_debug_error_handler()
#1 /home/client/catalog/includes/classes/shopping_cart.php(1427): shoppingCart->calculate()
#2 /home/client/catalog/admin/includes/classes/WhosOnline.php(362): shoppingCart->show_total()
#3 /home/client/catalog/admin/includes/classes/WhosOnline.php(249): WhosOnline->inspectSessionCart()
#4 /home/client/catalog/admin/includes/classes/WhosOnline.php(157): WhosOnline->getStatusCode()
#5 /home/client/catalog/admin/whos_online.php(52): WhosOnline->retrieve()
#6 /home/client/catalog/admin/index.php(16): require('/home/e-smith/f...')
--> PHP Warning: Undefined array key "currency" in /home/client/catalog/includes/classes/shopping_cart.php on line 657.

@scottcwilson scottcwilson merged commit f823e82 into zencart:master Jun 28, 2024
8 checks passed
@scottcwilson scottcwilson deleted the whos_online branch June 28, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants