The log points to variable error and undefined functions. But it is not constant (error / s).
These variables are defined through POST, so if a GET is done the error is generated.
Parsing the file individually does not contain any syntax or logic errors, but every day the error repeats itself.
I would like to know the path the user makes to generate the error.
Is there a way to add to the end of every log record the last page accessed by the user? Looking for found error_prepend_string
and error_handler
The result I want to get is something like:
Call to undefined function have_posts() in D:\home\site\index.php on line 22 - **ultima pagina visitada .com.br**
What should I do to get this result?