All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Pagination Error

Status Resolved
Add-on / Version Publisher Lite 1.6.11
Severity
EE Version 2.9.2

Ron Hickson

Jun 24, 2016

Description: When retrieving Low Search results and using pagination if the total results are less than the limit then I get the following error:

Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: models/publisher_entry.php
Line Number: 1624

When the total results are more than the limit pagination works just fine.  Could this be as simple as checking that $channel->pagination->template_data is not empty?

And I’m using the Publisher Low Search extension.

 

#1

BoldMinded (Brian)

Ron, it looks like you’re a version behind on Publisher. Have you also upgraded the Low Search extension?

#2

Ron Hickson

I’ve checked and the Publisher version is the latest edition (is the version number just not updating in the CP?) and the Low Search extension is updated and installed. As is the latest Low Search version for EE2.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

Ron Hickson

Looks like this stemmed from a “persistence” setting in the CP. We’re using only 1 language and so I set the persistence to “no” thinking it was irrelevant. Setting it to ‘yes’ seems to have cleared things up.

Login to reply