The function is defined in a separate file and it works everywhere except for whatever page it's not getting to. That's why I asked about command line error checking, because I cannot reproduce these errors browsing on my site.
The log file is not telling me what URL is generating these errors. I don't know if it's a human visitor or an indexer/robot that's generating these errors.
My site's scripting works 99% except for these errors that are appearing in my error log.
I've been virtually everywhere on my site with a browser; the footer is appearing.
You can click all over my site following links and the footer will appear every time...
...but something is generating them. Most likely a robot, but I need to know which URL so I can correct it.
Hence; I asked if there was a command line way for php to error check something.