Best solution I found!
In Preferences > SEO & URLs
set disable friendly URLs and Save
set enable friendly URLs and Save
The .htaccess file will be refreshed and now it will not show you that message.
Turning off Debug Mode just hides errors, but they still exist.