dynamic
dynamic

Reputation: 48141

PHP error log shows warnings on line 1768776801

I found in my error log this (Note: i didn't removed the filename)

Of course I don't have any script with 1 bn lines.

PHP Version 5.3.3-7
Apache 2

The other weird thing is that I have a

set_error_handler( 'myHandler' );

To write in the error log other inforamtion too, but with this error it seems PHP just ignores my error_handler. I don't have any code that can generate this errore before my call to set_error_handler

Edit

Upvotes: 17

Views: 434

Answers (1)

hakre
hakre

Reputation: 198204

This is more a comment than an actual answer:

You need to find out which actual code is triggering the error. As long as you don't it's hard to say what specifically is going on.

To start debugging, ensure that you have configured error logging in your php.ini so it's independent to runtime configuration.

Then you can install xdebug and add backtraces to your log. The important part is here, that it is independent to set_error_handler.

This logging information should already give you more insight. If not, start with remote debugging and step through the code until the warning occurs.

Related Question:

Upvotes: 3

Related Questions