Help with errors in theme.liquid code

I just noticed that there are warnings in my theme.liquid code. Most are orange warnings but there are 3 red warnings too. I’m attaching screen caps. If the edits to these issues are fairly simple I could probably just edit the code myself with proper guidance.

I’m not sure how serious the orange warnings are but I’d prefer to fix them in addition to the red if they might be having a negative impact on my site performance.

I’m not sure if it matters but I’m using Responsive 7.2.1 theme.

I’ve also checked the newest version of the Responsive theme and, while it doesn’t have the 3 red warnings, it continues to have the same orange warnings so updating the theme won’t resolve the orange issues.

:bomb: Always backup up themes before modifying any files you have been warned.

Google and time are your best friends here, literally just search for the audit message from theme-check.

Not everything is a problem because some console puts something in red.
Read the actual message “for better performance” is a recommendation not a law.
And some like using an asset_url filter for a collection is nonsensical false positive, as asset_url is for literal assets like images, etc which is iterated in the message itself.

Most fixes are communicated in the message itself like img_url being turned into image_url you can just follow verbatim and test it.
Just backup the theme and try it and test thoroughly.

Does the website work?

This is how merchants break their websites or spin their wheels on non-problems as a distraction from real problems.
If you make changes without understanding of why the code is the way it is just to appease some red font-color you can and will break your website.

This is a looong list of changes your expecting others to burn time on for your business profit.
There’s a big difference between asking a singular simple scoped question, and needing someone else to do all the work across 7 different image issues each with it’s own set of issues.
Most these are recurring topics you can find via forum search.

Otherwise focus on a SINGULAR topic not a shotgun of issues, or engage with an expert to take care of it in a reasonable amount of time so you can move on to bigger business problems while avoiding breaking your theme from bad advice you’ll get from the chatgpt responses.

Would agree with @PaulNewton with most of what he said.

Also – instead of trying to “fix” your old theme (was published in April 2020) I’d rather consider updating to a newest version of it, or switch to entirely new theme.
If you did not edit your theme code, this can be pretty easy.

Old themes were made with different priorities and even with these “fixes” they would not match newer versions.

And yes, backup often.