title: How to solve Array to string conversion when save data into database in laravel 6
body: <p>When I am going to save data to database using save($data) . Then there show a error  ErrorException
  Array to string conversion. </p>
  
  <p>Here is controller : </p>
  
  <pre><code>public function create(Request $request){
          $company = new Company();
          $data = [
          'name' =&gt; $request['name'] ,
          'address' =&gt; $request['address'] ,
          'city' =&gt; $request['city'] ,
          'state' =&gt; $request['state'] ,
          'zip' =&gt; $request['zip'] ,
          'country' =&gt; $request['country'] ,
          'email' =&gt; $request['email'] ,
          'logo' =&gt; $request['logo']
          ];
  
          $file = $request-&gt;file('logo');
          if($request-&gt;hasFile('logo')){
              $destinationPath = 'upload';
              $file-&gt;move($destinationPath,$file-&gt;getClientOriginalName());
          }
  
          //dd($data);
  
          $company-&gt;save($data);
  
          return true ;
  
      }
  </code></pre>