Forums
Home / Plugin: Block Referer Spam / wp-cron.php error
(@fayzanzahid)
7 years, 7 months ago
Whenever wp-cron.php runs it causes this error
(/public_html/.htaccess.bak): failed to open stream: Permission denied in /public_html/wp-content/plugins/block-referer-spam/lib/RefSpamBlocker.php on line 223
(@supersoju)
It seems your web server user doesn’t have write access to your public_html directory.
/public_html/ should be 755
If you’re able to create files via FTP, you can manually create the .htaccess.bak file and chmod it to 644.