I have a line in .volt file :
{{ select_static('job-cat', job_cat, 'using': ['id', 'name'], 'useEmpty': true, 'emptyText': '', 'class': 'form-control') }}
it's compiled to (line 16):
<?php echo $this->tag->selectStatic(array('job-cat', $job_cat, 'using' => array('id', 'name'), 'useEmpty' => true, 'emptyText' => '', 'class' => 'form-control')); ?>
In php log file I see the following notice:
Notice: Array to string conversion in /Users/IGonza/git/xxx/app/cache/_users_xxxxx_app_views_job_add.volt.php on line 16
I'm not sure where it's coming from... What's wrong with the code?