title: laravel livewire exception: Queueing collections with multiple model connections is not supported
body: <p>I´m beggining my Livewire journey and have created a list component which contains a form component for each of the list elements, and as I am trying to make it all work I keep getting the following never before seen exception:</p>
  <blockquote>
  <p>LogicException Queueing collections with multiple model connections is
  not supported.</p>
  </blockquote>
  <p>I use the same single connection for every model in my project, and I am not queueing anything on purpose in any of the components I'm currently working, so I have no clue as to where to start debugging this exception. The error message doesn´t help much either. In fact, I don´t even know what to post here for you guys to help me, short of posting the whole project... I guess I´m just angling for any clue as to where to start looking to get this fixed, so any help is much appreciated.</p>
  <p>Here's the error message Stack trace:</p>
  <blockquote>
  <p>C:\Users\bfcba\OneDrive\aplicaciones\duki\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Collection.php:705</p>
  </blockquote>
  <pre class="lang-php prettyprint-override"><code>public function getQueueableConnection()
  {
      if ($this-&gt;isEmpty()) {
          return;
      }
  
      $connection = $this-&gt;first()-&gt;getConnectionName();
  
      $this-&gt;each(function ($model) use ($connection) {
          if ($model-&gt;getConnectionName() !== $connection) {
              throw new LogicException('Queueing collections with multiple model connections is not supported.');
          }
      });
  
      return $connection;
  }
  </code></pre>
  <p>I´ll be happy to post all the information that you consider necessary. Just let me know.</p>
  <p>Thanks in advance.</p>