Mismatch error: Expected class WebPicture, but got TextLiteral Name

Hi, I’m encountering this mismatch error when I open my project and tried to run it. And I have to replace all web image viewers to fix it. Is there a way to prevent this or an easy way to solve it?

ctnUpdateProject.btnEditProjectName.Name Layout (property name)
Type mismatch error. Expected class WebPicture, but got TextLiteral
Name