title: MailChimp API 3.0 Batch update - Always pending, total_operations:0
body: <p>Trying to update a batch of emails. I think I've tried every way to do this, but my use of <a href="https://github.com/drewm/mailchimp-api" rel="nofollow">DrewM's MailChimp wrapper</a> only returns the following <code>$result</code> content:</p>
  
  <pre><code>Array ( [id] =&gt; 1234abcd [status] =&gt; pending [total_operations] =&gt; 0 [finished_operations] =&gt; 0
  </code></pre>
  
  <p>And so on. No errors, but no operations!</p>
  
  <p>Essentially, my code looks like this, where <code>$emails</code> stores all the emails in an array.</p>
  
  <pre><code>include("MailChimp.php");
  include("Batch.php");
  
  $list_id = "1234abcd";
  
  use \DrewM\MailChimp\MailChimp;
  use \DrewM\MailChimp\Batch;
  $apiKey = 'aslkjf84983hg84938h89gd-us13';
  
  if(!isset($emails)){ // If not sending bulk requests
      $MailChimp = new MailChimp($apiKey);
      $subscriber_hash = $MailChimp-&gt;subscriberHash($email);
      $result = $MailChimp-&gt;patch("lists/$list_id/members/$subscriber_hash",
          array(
              'status' =&gt; 'subscribed',
          )
      );
  
  /* SENDING BATCH OF EMAILS */
  } else if($emails){
      $MailChimp = new MailChimp($apiKey);
      $Batch     = $MailChimp-&gt;new_batch();
      $i = 1;
      foreach($emails as &amp;$value){
          $Batch-&gt;post("op".$i, "lists/$list_id/members", [
              'email_address' =&gt; $value,
              'status'        =&gt; 'subscribed',
          ]);
          $i++;
      }
      $result = $Batch-&gt;execute(); // Send the request (not working I guess)
      $MailChimp-&gt;new_batch($batch_id); // Now get results
      $result = $Batch-&gt;check_status();
      print_r($result);
  }
  </code></pre>
  
  <p>If anyone can see what I'm not seeing, I'll be very grateful!</p>