• I think this plugin works pretty well. I would like to give it a five-star review. But first, I thought you should know that it continually gives the following PHP Notices:

    [14-Sep-2021 20:31:00 UTC] PHP Notice:  Undefined index: SERVER_NAME in XXX/wp-content/plugins/lh-javascript-error-log/lh-javascript-error-log.php on line 38
    [14-Sep-2021 20:31:00 UTC] PHP Notice:  Undefined index: SERVER_PORT in XXX/wp-content/plugins/lh-javascript-error-log/lh-javascript-error-log.php on line 38

    Also unrelated, is there any way to get the messages to expand on generic javascript errors like
    JavaScript Error: Script error., file: : 0
    Or is it simply that some browsers don’t pass helpful information.

Viewing 1 replies (of 1 total)
  • Plugin Author shawfactor

    (@shawfactor)

    daniel,

    what s your environment? On most servers SERVER_NAME always exists.

    I have semi fix but it might still create notices, but possibly different ones. Server variables are not my area of expertisse really, although knowing yur setuo would give me an idea of where to look

    Re the javascript error, that is just an older browser thing. Not much I can do, but it wil fix itself as the browsers modernise.

    Pete

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notices’ is closed to new replies.