1) I’ve commented the add_rewrite_tag function call.
2) New fatal error : same file, with function add_permastruct, line 74 (also commented out)
3) WordPress works …
I’m looking around admin pages and i found these errors :
4) Page Media -> Notice: Trying to get property of non-object in /wp-includes/capabilities.php on line 1022 , 1023 , 1026 ( I’m using the Debug Mode )
All I got from now. I was using custom plugins that i’ve developped. Remove everything and I still got those errors.
Wordpress is installed locally using Mamp with php 5.3.6. No permalink structure were used.