title: laravel 4.2 pipe basd validation error
body: <p>getting error on when submit form </p>
  
  <p>ErrorException (E_UNKNOWN)</p>
  
  <p>Array to string conversion</p>
  
  <p>below is the code that generate error  not validating the form</p>
  
  <pre><code>      $rulesvalida=array(
          'txt_name' =&gt; 'required|min:3',
          'txt_phone_number' =&gt; 'required|numeric|min:8',
          'txt_street_name' =&gt; 'required|min:3',
          'txt_house_number' =&gt; 'required|min:3',
          'txt_floor' =&gt; 'required|min:3',
          'txt_side' =&gt; 'required|min:3',
          'txt_post_code' =&gt; 'required|min:4',
          'txt_post_town' =&gt; 'required|min:4',
          'txt_country' =&gt; 'required',
      );
  
            return Validator::make($data, $rulesvalida, Lang::get('validation'));
  </code></pre>