Twig Runtime Error – Twig\Error\RuntimeError
Neither the property "script" nor one of the methods "script()", "getscript()"/"isscript()"/"hasscript()" or "__call()" exist and have public access in class "putyourlightson\sprig\variables\SprigVariable".
Bug Report
I'm seeing this error since upgrading to craft 4:
Twig Runtime Error – Twig\Error\RuntimeError Neither the property "script" nor one of the methods "script()", "getscript()"/"isscript()"/"hasscript()" or "__call()" exist and have public access in class "putyourlightson\sprig\variables\SprigVariable".
Plugin Version
2.13.0
Craft CMS Version
4.12.1
PHP Version
8.3