I broke WordPress by changing wp-settings.php and I need help to get it started again.
I noticed in the database tables multiple copies of many posts, making me concerned about the disk space the extra, unnecessary copies were taking up. I found in the documentation that revisions can be limited. In wp-settings.php I changed WP_POST_REVISIONS from “true” to “3” and saved the file.
The blog immediately fell over with:
“Fatal error: Cannot redeclare is_admin() (previously declared in /home/wordmstr/public_html/climateconversation/wordpress/wp-settings.php:321) in /home/wordmstr/public_html/climateconversation/wordpress/wp-includes/query.php on line 99”
I changed the value of WP_POST_REVISIONS back TO “true” again and saved the file.
The php4 documentation does not say how to restart the database. I need some help, please.
- The topic ‘Please help – I killed WordPress’ is closed to new replies.