Jump to content

a lot of system errors


Recommended Posts

we have recently upgraded to cubecart 6 and it works great. however, I just noticed that there are a ton of system errors in the log, and they all seem to originate from the same file, and look something like this:

[<strong>Warning</strong>] /home/.../public_html/classes/ssl.class.php:39 - Undefined array key "_g"


[<strong>Warning</strong>] /home/..../public_html/classes/sanitize.class.php:114 - Security Warning: Illegal array key "&lt;?xml_version" was detected and was removed.

do we have issues or it's normal?

thanks in advance


also this seems really strange on the error list:

[<strong>Warning</strong>] /home/.../public_html/classes/session.class.php:676 - Undefined array key "HTTP_USER_AGENT"

Edited by volteq
Link to comment
Share on other sites

Please know that 99.99% of these errors are caused by a combination of a particular school of programming style and PHP8.1 -- and are harmless.

Everything that mentions "Undefined variable", "Undefined array key", and a few others can be ignored.

You might hit one or two situations that would cause some apparent weirdness, but nothing catastrophic.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...