I can't figure out the cause of these errors

Godot Version

4.4.1

Question

hello there, I am almost new to godot. 4 or 5 days ago I switched my project from compatibilty mode to mobile. I keep getting the following 3 errors. I checked all my shader codes and didn’t find any error or optimization problem. When I switched back to compatibility mode, I started to see the same errors. Except for this error:

E 0:00:01:944 version_get_shader: Parameter “version” is null.
<C++ Source> ./servers/rendering/renderer_rd/shader_rd.h:170 @ version_get_shader()

I see this error only in the mobile mode.

I also see that message in the output section:

–Main Shader–
1 | shader_type canvas_item;
2 |
E 3-> uniform vec4 color_start : hint_color;
4 | uniform vec4 color_end : hint_color;
5 |
6 | void fragment() {
7 | float gradient = FRAG_COORD.y / SCREEN_SIZE.y;
8 | COLOR = mix(color_start, color_end, gradient);
9 | }
10 |

I have examined and searched all my codes, but I could not find my code that gives an error in the output anywhere.

In the docs:

It says to use:
uniform vec4 color : source_color;

Does that help?

The error about version I think will appear when your shader code is broken. (I am not a shader expert but have dabbled with them)

This is an old Godot 3 syntax. Use source_color in Godot 4.

I found the solution that I could not find for days right after I opened the topic in the forum :). I had an old shader left in one of my sprite2D nodes, but it was not visible in the filesystem, so I could not find where this shader code was. I opened the file path of my project and opened the node2d scene with notepad. there I was able to find this error-causing shader code. I also found out which node it belonged to and when I removed the shader, the problem was solved. Thanks a lot!