Jump to content

Get rid of error message: "Original image does not exist to create size variation: ..."


markus_blue_tomato
 Share

Recommended Posts

I have solved it with some lines of JS in my admin.js File for AdminOnSteroids:


  document.querySelectorAll(".NoticeError .pw-container").forEach(element => {
    if(element.innerText.includes("Original image does not exist to create size variation")) {
      element.parentNode.style.display = "none";
    }
  });

It's not they prettiest solution and work's only if the error message is in english but it should do the work for us...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...