Answers.Body: <p>The <code>paginate</code> tag requires a criteria model, which means you have to come up with your own pagination solution.</p>
  
  <p>See an example here:<br>
  <a href="https://craftcms.stackexchange.com/questions/12455/paginate-entries-when-i-do-not-have-a-criteria-model">Paginate entries when I do not have a criteria model?</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-24T15:56:28.813Z
Answers.LastActivityDate: 2016-03-24T15:56:28.813Z
Answers.LastEditDate: 2017-04-13T12:51:00.200Z
Answers.UserDisplayName: carlcs
Body: <p>I'm merging entries from two separate sections across locales.
  All going well but when I try to paginate the results I get the following error:</p>
  
  <pre><code>Recoverable error
  
  Argument 1 passed to Craft\TemplateHelper::paginateCriteria() must be an instance of Craft\ElementCriteriaModel, array given,
  </code></pre>
  
  <p>The offending code as follows (simplified):</p>
  
  <pre><code>{% set pages = [] %}
  {% set devNews = craft.entries.section('newsDevelopment').status(null).find() %}
  {% set alumniNews = craft.entries.section('newsAlumni').status(null).locale('prior_alum').search('shareNewsAlumni:1').localeEnabled(false).find() %}
  {% set pages = pages|merge(alumniNews) %}
  
  {% paginate news as pages %}
      {% for article in news %}
          ...
      {% endfor %}
  {% endpaginate %}
  </code></pre>
  
  <p>As I say, works fine/as expected without the paginate but as soon as I try to paginate I get the error.</p>
  
  <p>Any thoughts on above appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-24T15:57:48.640Z
Comments.Text: `{% paginate news as entries %}` is a typo an you meant `pages`, right?
Comments.UserDisplayName: carlcs
Tags: <entries><localization><pagination>
Title: Combined entries from sections across locales
ThreadText: # Combined entries from sections across locales
  
  (Asked by: username_0 on 2016-03-24)
  
  I'm merging entries from two separate sections across locales.
  All going well but when I try to paginate the results I get the following error:
  
  ```
  Recoverable error
  
  Argument 1 passed to Craft\TemplateHelper::paginateCriteria() must be an instance of Craft\ElementCriteriaModel, array given,
  
  ```
  
  The offending code as follows (simplified):
  
  ```
  {% set pages = [] %}
  {% set devNews = craft.entries.section('newsDevelopment').status(null).find() %}
  {% set alumniNews = craft.entries.section('newsAlumni').status(null).locale('prior_alum').search('shareNewsAlumni:1').localeEnabled(false).find() %}
  {% set pages = pages|merge(alumniNews) %}
  
  {% paginate news as pages %}
      {% for article in news %}
          ...
      {% endfor %}
  {% endpaginate %}
  
  ```
  
  As I say, works fine/as expected without the paginate but as soon as I try to paginate I get the error.
  
  Any thoughts on above appreciated.
  
  **Tags:** entries, localization, pagination
  
  > **Comments:**
  > **username_1**: `{% paginate news as entries %}` is a typo an you meant `pages`, right?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-03-24. Score: 1
  
  The `paginate` tag requires a criteria model, which means you have to come up with your own pagination solution.
  
  See an example here:  
  [Paginate entries when I do not have a criteria model?](https://craftcms.stackexchange.com/questions/12455/paginate-entries-when-i-do-not-have-a-criteria-model)
  
  
  ---
  
  