I had the following ORM which was working
$timezones = DB::table('timezones')->pluck(DB::Raw('concat_ws(" ",label,name) as name'), 'id');
I converted it to
$timezones = Timezone::pluck(DB::Raw('concat_ws(" ",label,name) as name'), 'id');
and got the error like below
ErrorException in Str.php line 432:
Illegal offset type in isset or empty
Model is pretty simple like below
class Timezone extends Model
{
protected $table = 'timezones';
protected $connection = 'mysql';
}