@dvankooten Yes, exactly. And for some reason the plugin restored the faulty htaccess even after I fixed it. The problem is that the MC4WP Start is not on its own line, as shown below from my htaccess:
<Files *.php>
deny from all
</Files># MC4WP Start
<Files mc4wp-debug-log.php>
deny from all
</Files>
# MC4WP End
I’m having the same problem after updating the Mailchimp for WordPress plugin:
Error log:
/sites/mysite.ext/www/wp-content/uploads/.htaccess: </Files>#> directive missing closing '>', referer: https://www.google.com/.
I’ve fixed it by removing below code, since my .htaccess already blocked .php files:
# MC4WP Start
<Files mc4wp-debug-log.php>
deny from all
</Files>
# MC4WP End
This problem occurs on all of my blogs too, very annoying. It’s not a caching problem.