Search the FirstSpirit Knowledge Base
What is the reason for this message? Thanks
ERROR 12.03.2014 09:51:53.322{g-sec=20919,g-node=20918} (de.espirit.firstspirit.generate.SiteProduction): invalid target type for $CMS_REF()$: 66, class java.lang.Integer
Hello Karsten,
this error occurs if you're doing something like this:
$CMS_REF(ref(st_image).width)$
Use $CMS_REF only for references.
Correct is:
$CMS_VALUE(ref(st_image).width)$
Kind regards,
Timo
Hallo Karsten,
66 ist not a valid firstparam for CMS_REF.
you wrote something like this... $CMS_REF(66:"yourref")$
ciao,
Antonio
Hello Karsten,
this error occurs if you're doing something like this:
$CMS_REF(ref(st_image).width)$
Use $CMS_REF only for references.
Correct is:
$CMS_VALUE(ref(st_image).width)$
Kind regards,
Timo