title: Convert to pdf "Frame not found in cellmap"
body: <p>I'm building an invoice system, first you'll have to fill in the products you want to have on your invoice then it will convert the html view(where it will show the products in a foreach loop) to pdf. But if I have more than 6 products it will throw the following exception:</p>
  
  <blockquote>
    <p>Frame not found in cellmap</p>
  </blockquote>
  
  <p>I know this question has been asked a lot. But it seems there is still no real solution. It occurs when the input on the page is bigger than the first page and it can't jump to a new page so it throws an error:</p>
  
  <p>Already tried a lottt!</p>
  
  <p>This won't work for me:</p>
  
  <pre><code>$paper_orientation = 'landscape';
  $customPaper = array(0,0,950,950);
  $dompdf-&gt;set_paper($customPaper,$paper_orientation);
  </code></pre>
  
  <p><a href="https://github.com/dompdf/dompdf/issues/657" rel="nofollow">https://github.com/dompdf/dompdf/issues/657</a></p>
  
  <p>This is my html view:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Factuur&lt;/title&gt;
      &lt;link rel="stylesheet" href="/administration/style.css" media="all" /&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;header class="clearfix"&gt;
        &lt;img src="/administration/logo.png"&gt;
        &lt;div id="company"&gt;
            &lt;h2 class="name"&gt;Company name&lt;/h2&gt;
            &lt;div&gt;Address&lt;/div&gt;
            &lt;div&gt;zip&lt;/div&gt;
            &lt;div&gt;&lt;a href="email"&gt;email&lt;/a&gt;&lt;/div&gt; 
        &lt;/div&gt;
        &lt;/div&gt;
      &lt;/header&gt;
      &lt;main&gt;
        &lt;div id="details" class="clearfix"&gt;
          &lt;div id="client"&gt;
            &lt;div class="to"&gt;{{ $sort == 0 ? 'Offerte' : 'Factuur' }} voor:&lt;/div&gt;
            &lt;h2 class="name"&gt;{{ $company }}&lt;/h2&gt;
            &lt;div class="address"&gt;{{ $address }}&lt;/div&gt;
            &lt;div class="address"&gt;{{ $zip }}&lt;/a&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;div&gt;
            &lt;h1&gt;{{ $sort == 0 ? 'Offerte' : 'Factuur' }}nummer: {{ $number }}&lt;/h1&gt;
            &lt;div class="date"&gt;Datum: {{  $date }}&lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;table border="0" cellspacing="0" cellpadding="0"&gt;
          &lt;thead&gt;
            &lt;tr&gt;
              &lt;th class="no"&gt;#&lt;/th&gt;
              &lt;th class="desc"&gt;Beschrijving&lt;/th&gt;
              &lt;th class="unit"&gt;Prijs&lt;/th&gt;
              &lt;th class="qty"&gt;Aantal&lt;/th&gt;
              &lt;th class="total"&gt;Totaal&lt;/th&gt;
            &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
          @foreach($products as $product)
            &lt;tr&gt;
              &lt;td class="no"&gt;{{ $product-&gt;id }}&lt;/td&gt;
              &lt;td class="desc"&gt;&lt;h3&gt;{{ $product-&gt;title }}&lt;/h3&gt;{{ $product-&gt;description }}&lt;/td&gt;
              &lt;td class="unit"&gt;€{{ $product-&gt;price }}&lt;/td&gt;
              &lt;td class="qty"&gt;{{ $product-&gt;number }}&lt;/td&gt;
              &lt;td class="total"&gt;€{{ $product-&gt;total }}&lt;/td&gt;
            &lt;/tr&gt;
          @endforeach
          &lt;/tbody&gt;
        &lt;tfoot&gt;
            &lt;tr&gt;
              &lt;td colspan="2"&gt;&lt;/td&gt;
              &lt;td colspan="2"&gt;SUBTOTAAL&lt;/td&gt;
              &lt;td&gt;€ {{ $subtotal }}&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td colspan="2"&gt;&lt;/td&gt;
              &lt;td colspan="2"&gt;BTW 21%&lt;/td&gt;
              &lt;td&gt;€ {{ $btw }}&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td colspan="2"&gt;&lt;/td&gt;
              &lt;td colspan="2"&gt;TOTAAL&lt;/td&gt;
              &lt;td&gt;€ {{ $total }}&lt;/td&gt;
            &lt;/tr&gt;
          &lt;/tfoot&gt;
        &lt;/table&gt;
          &lt;div id="notices" class="{{ $sort == 0 ? 'hidePayment' : 'notices' }}"&gt;
            &lt;div&gt;BETALING:&lt;/div&gt;
          &lt;/div&gt;
      &lt;/main&gt;
      &lt;footer&gt;
        KvK nummer:  | BTW nummer: 
      &lt;/footer&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is there a solution?</p>