Hi, a client of mine wanted a new theme for his affiliate website, which contained a lot of links and attachments (about 4000+) and was running fine, except for it looked bad as design.
Now, the site was with WP version 3.0.1 , and after the automatic update to 3.1.2 I got the message “Fatal Error: Maximum execution time of 30 seconds exceeded in rewrite.php on line 829” .
After I removed the execution limit, the site takes like 1 minute to load, and when it loads it doesn’t show any posts/pages/categories or any content, only the layout. I installed 3.0.1 back with the old settings, but that didn’t work either.
I’ve made a test DB, and filled it with the data I had backed up. When I delete most of the entries in wp_posts (especially the attachments) the site loads normally.
Is there any possible fix for this? Thank you!