Error: $content is empty
-
Hello,
I’m writing about an issue in your Bulk Image Alt Text with Yoast plugin. In
/admin/controllers/DomController.php(lines ~580-594), the plugin callserror_log('Error: $content is empty')whenever it encounters empty content.Empty content is a normal state in WordPress (archive pages, search results, etc.) and shouldn’t be logged as an error. These messages quickly fill up debug logs with false positives, hiding real issues. Please consider removing these log calls or making them conditional (only when
WP_DEBUGis true). This would greatly improve the plugin’s compatibility with production environments.Thanks for your work on the plugin!
You must be logged in to reply to this topic.