Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

pusher in laravel array_merge(): Argument #2 is not an array

Laravel Pusher array_merge() error

Change the code Below:

{{ Form::model($users, array('method' => 'PATCH', 'route' => array('admin.users.update', $users->id))) }}

To thos code:

{{ Form::model($users, array('method' => 'PATCH', 'route' =>'admin.users.update', 'route_id'=>$users->id)) }}

OR

Downgrade your pusher version like this:

composer require pusher/pusher-php-server:~4.0
 
PREVIOUS NEXT
Tagged: #pusher #laravel #Argument #array
ADD COMMENT
Topic
Name
5+2 =