Always getting an error when opening a upr/hdrp project.

When I open a unity urp or hdrp project, it always appears a error message wich are:
Library\PackageCache\com.unity.shadergraph@12.1.7\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: ‘Material’ does not contain a definition for ‘rawRenderQueue’ and no accessible extension method ‘rawRenderQueue’ accepting a first argument of type ‘Material’ could be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.unity.shadergraph@12.1.7\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: ‘Material’ does not contain a definition for ‘rawRenderQueue’ and no accessible extension method ‘rawRenderQueue’ accepting a first argument of type ‘Material’ could be found (are you missing a using directive or an assembly reference?)

Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticlePlanarPrimitivesLit/PassShadowCaster.template has no meta file, but it’s in an immutable folder. The asset will be ignored.

Asset Packages/com.unity.render-pipelines.universal/Runtime/Materials/PhysicalMaterial3DsMax/PhysicalMaterial3DsMaxTransparent.shadergraph has no meta file, but it’s in an immutable folder. The asset will be ignored.

I have not changed the project at all!!!

When I exit safe mode, there is only 1 error left:
Library\PackageCache\com.unity.shadergraph@12.1.7\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: ‘Material’ does not contain a definition for ‘rawRenderQueue’ and no accessible extension method ‘rawRenderQueue’ accepting a first argument of type ‘Material’ could be found (are you missing a using directive or an assembly reference?)