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

spider hit on popup_image causes debug #6049

Closed
torvista opened this issue Nov 10, 2023 · 2 comments · Fixed by #6044
Closed

spider hit on popup_image causes debug #6049

torvista opened this issue Nov 10, 2023 · 2 comments · Fixed by #6044

Comments

@torvista
Copy link
Member

example bad url from msn bot

https://SITE/index.php?main_page=popup_image&pid=50

log from local dev/vanilla ZC200 site (as I get different errors on hosting due to custom coding/subsequent processing)

[10-Nov-2023 19:44:23 UTC] Request URI: /zencart/index.php?main_page=popup_image&pid=50, IP address: 127.0.0.1, Language id 1
#0 D:\Github\zencart\includes\modules\pages\popup_image\header_php.php(27): zen_debug_error_handler()
#1 D:\Github\zencart\index.php(35): require('D:\Github\zenca...')
--> PHP Warning: Undefined array key "pID" in D:\Github\zencart\includes\modules\pages\popup_image\header_php.php on line 27.

php8.3.0RC2, strict reporting

@lat9
Copy link
Contributor

lat9 commented Nov 10, 2023

I'm pretty sure that this is corrected by PR #6044; I'd seen the same in the logs of one of my clients.

@torvista
Copy link
Member Author

torvista commented Nov 10, 2023

Yes, it cures the issues I had.

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 a pull request may close this issue.

2 participants