How do I eliminate a "Missing expression in .." error message in LTspice XVII simulation
You said you defined you own diode library and it looks like you haven't specified all the parameters? You put those triple-queries &quot;???&quot; there? I think if you check your library and fix this the issue will go away.
When I followed your link, and just searched for the &quot;???&quot; I found the suspicious code:

I think something isn't right there, just like I suspected.
I don't know if &quot;???&quot; is a syntactic element of that language to define formal arguments to sub-models, but I doubt it is. And I doubt you should have to bind the Vmax parameter every time you use some diode.
I would try to comment that part out entirely.