sorted. thank you!
error_reporting(E_ERROR);
put this at line 8.
first time that i leave any message here!
i had a same problem, and it was corrupted table in the database. wp-posts one.
it can be easily repaired. just check the folder and push ‘repair’ button! and done!