It is stated in documentation, that template_dir configuration value may as well be an array of paths, but actually only a single scalar value is accepted, so an InvalidTypeException with message "Invalid type for path "smarty.options.template_dir". Expected scalar, but got array." is thrown when trying to provide an array of paths.
It is stated in documentation, that template_dir configuration value may as well be an array of paths, but actually only a single scalar value is accepted, so an InvalidTypeException with message "Invalid type for path "smarty.options.template_dir". Expected scalar, but got array." is thrown when trying to provide an array of paths.