It seems like the plugin Image Pro was the source of that problem. I deactivated the plugin, and the alert is not there anymore. However, the individual gallery pages don’t show the images when viewing the site. They rather pick up images from the blog posts. I will continue to investigate, and deactivate plugins to see if there is anymore incompatibilities.