Closed carstengrimm closed 6 years ago
temporary fix is to declare inside the function first
$options = array();
Unfortunately this is no practical fix, because focusCrop()
accepts options as third parameter, which need to be passed as an array and would be overridden by this empty array.
In K2 there was a (deprecated) option, that the 3rd parameter could also be an integer, which was then used as quality. This is no longer supported.
The error ”Cannot use skalar value …“ indicates, that you probably use the old syntax focusCrop(200,300,80)
instead of focusCrop(200,300,['quality' => 80])
. Could you please check that?
you are correct. i was using the old syntax
Inside the focus/config.php it seems that something is breaking the whole thing. I have pretty much a basic setup with latest k-next focus as well as latest beta and made sure all files have templates.