add_rewrite_rule error on version 3.0
-
After upgrading to 3.0 I was unable to access my admin screens.
I found the following error in my logs:
[Wed Oct 08 00:37:22.741887 2014] [:error] [pid 7962] [client 127.0.0.1:50546] PHP Fatal error: Call to a member function add_rule() on a non-object in /path/to/wordpress/wp-includes/rewrite.php on line 21
I fixed it by commenting out the following line:
wp-content/plugins/written/written-api.php 29: add_rewrite_rule('^written_api/?(.+)?/?','index.php?__wtt_api=1&method=$matches[1]','top');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘add_rewrite_rule error on version 3.0’ is closed to new replies.