How to fix constant console errors on a simple ecom store?

Hello, I am just making a simple ecom store which doesn’t use any javascript or extra apis or such, however my console on my main page which simply has a shopify hosted video is getting constantly filled with errors. This is terrible for the site SEO and I don’t even know what is causing it.

First there are loads of CORS errors about monorail-edge

And there is a this error

My website is c36370-05.myshopify.com , no password.

Error waterfall appears on home screen, however a CORS error

RokasZak_2-1708728444351.png

appears on any page you go.

If anybody could help, it would be amazing.

Even though you didn’t add javascript the theme is going to have javascript running on it out of the box. Gonna require some troubleshooting to figure it out. Looks like you’re using Shopify’s Origin theme. Latest version is 13.0.1 released 2/21/24. You can check your version and see if it’s up to date, could be related to that. You can also try looking into the theme docs or contacting Shopify about the theme and your issue. If you think it’s related to your video try experimenting with swapping the video, removing it entirely, etc.

Here’s some references to check out:
https://themes.shopify.com/themes/origin/styles/default
https://help.shopify.com/en
https://help.shopify.com/en/manual/online-store/themes

I have troubleshooted this issue to find the UBlock Origin causes the console errors to pop up, 5 minutes on the main screen and it has 1000 “ads” blocked.

This is what it is catching. Any idea what is the cause of this?

Sounds like you have some kind of popup creating an issue. Maybe an email capture, cookie consent. Maybe you have a configuration that’s incomplete or incorrect. No issues in Incognito browser? Adblockers are known to create sometimes create issues but if this is a new relatively untouched store on an up to date theme I would guess it’s some configuration issue

Well no email capturing popups were ever used, a GPDR compliance app was installed and uninstalled as I realized I’m not actually capturing any cookies for use. It might have left something behind? Not sure how to check that as I am fairly new to shopify. “Nova: GDPR Cookie Consent”

“Loadify: Preloader” was installed and uninstalled later. “Super Pinch & Zoom” as well. I don’t think these two would cause issues thought.

What could I look throught configuration to troubleshoot further?

It appears this custom section is causing the issue, however I’m not sure why

{%- if section.blocks.size > 0 -%}
	{%- for block in section.blocks -%}
		{% if block.type == 'video' %}
			

				{%- if block.settings.video_link != blank -%}
					

						
					

				{% endif %}

				

				
					{% if block.settings.title != blank %}
						# 
							{{ block.settings.title | escape }}
						
					{% endif %}
					{% if block.settings.button_link != blank and block.settings.button_label != blank %}
						
							{{ block.settings.button_label | escape }}
						
					{% endif %}
				

			

			{% else %}
				

					

					
						{% if block.settings.title != blank %}
							# 
								{{ block.settings.title | escape }}
							
						{% endif %}

						{%- style -%}
							.videoBackground .imageBoxInfoDescription p {
								color: {{ block.settings.color_text }}!important;
							}
						{%- endstyle -%}

						{% if block.settings.button_link != blank and block.settings.button_label != blank %}
						
							{{ block.settings.button_label | escape }}
						
    					{% endif %}
					

				

		{% endif %}
	{%- endfor -%}

{% else %}
	 
      	This section doesn’t currently include any content. Add content to this section using the sidebar.
    

{%- endif -%}

{% schema %}
{
  "name": 
    "Video Background"
  ,
  "class": "videoBackground",
	"max_blocks": 1,
	"blocks": [
		{
		"type": "video",
		"name": "Video",
		"settings": [
			{
				"type": "url",
				"id": "video_link",
				"label":"Video link"

			},
			{
				"type": "image_picker",
				"id": "video_image",
				"label": "Cover image"

			},
			{
				"type": "range",
				"id": "overlay_opacity",
				"label": "Overlay opacity",
				"min": 0,
				"max": 99,
				"step": 1,
				"unit": {
					"en": "%"
				},
				"default": 0
			},
			{
				"type": "header",
				"content": {
					"en": "Text"
				}
			},
			{
				"type": "text",
				"id": "title",
				"label":  "Heading",
				"default": "Video slide"
			},
			{
				"type": "richtext",
				"id": "text",
				"label": "Description"
				,
				"default":  "

Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.

"
				
			},
			{
				"type": "color",
				"id": "color_text",
				"label":  "Text color"
				,
				"default": "#ffffff"
			},
			{
				"type": "text",
				"id": "button_label",
				"label":  "Button label"
				
			},
			{
				"type": "url",
				"id": "button_link",
				"label":  "Button link"
				
			},
			{
				"type": "color",
				"id": "color_btn_bg",
				"label":  "Background button color"
				,
				"default": "#ffffff"
			},
			{
				"type": "color",
				"id": "color_btn_text",
				"label":  "Button text color"
				,
				"default": "#ffffff"
			}
		]
		},
		{
		"type": "image",
		"name": "Image",
		"settings": [
			{
				"type": "color",
				"id": "color_bg",
				"label":  "Background color (optional)"
				,
				"default": "#16165b"
			},
			{
				"type": "image_picker",
				"id": "image_bg",
				"label":  "or use an image (required)"
				
			},
			{
				"type": "range",
				"id": "overlay_opacity",
				"label":  "Overlay opacity"
				,
				"min": 0,
				"max": 99,
				"step": 1,
				"unit": {
					"en": "%"
				},
				"default": 0
			},
			{
				"type": "header",
				"content": {
					"en": "Text"
				}
			},
			{
				"type": "text",
				"id": "title",
				"default": "Image slide",
				"label":  "Heading"
				
			},
			{
				"type": "richtext",
				"id": "text",
				"label":  "Description"
				,
				"default":  "

Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.

"
				
			},
			{
				"type": "color",
				"id": "color_text",
				"label":  "Text color"
				,
				"default": "#ffffff"
			},
			{
				"type": "text",
				"id": "button_label",
				"label":  "Button label"
				
			},
			{
				"type": "url",
				"id": "button_link",
				"label":  "Button link"
				
			},
			{
				"type": "color",
				"id": "color_btn_bg",
				"label":  "Background button color"
				,
				"default": "#ffffff"
			},
			{
				"type": "color",
				"id": "color_btn_text",
				"label":  "Button text color"
				,
				"default": "#ffffff"
			}
		]
		}
	],
	"presets": [
		{
			"name":  "Video Background"
			,
			"category": {
				"en": "Main"
			},
			"blocks": [
				{
					"type": "video"
				}
			]
		}
	]
}
{% endschema %}

I placed just a


simple video and it appears it still throws errors anyway so I am confused