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: Simple Search not working with Publisher Lite

Status Resolved
Add-on / Version Publisher Lite 2.8.3
Severity
EE Version 4.3.3

Sears Davies

Aug 21, 2018

Running a simple search with Publisher installed causes an error:
Fatal error: Uncaught Error: Class ‘EEBlocks\Helper\App’ not found in .../system/user/addons/publisher/legacy/libraries/Publisher_search.php:162

I’ve tried to remove the conditional around line 162 so that it just reads

$memberFields = '';

but submitting a search now returns bool(false) on the front end.

 

#1

BoldMinded (Brian)

Comment has been marked private.

#2

Sears Davies

Thanks Brian. I’ve installed the latest build but I’m still getting bool(false) on the front end.

#3

BoldMinded (Brian)

What do you mean you’re getting bool(false) on the front-end? Can you copy/paste the whole error message?

#4

Sears Davies

That is the whole message. When I submit the search, I just get a white screen that just says “bool(false)”. You can try it yourself on the link I submitted with the ticket. The search box is in the footer.

#5

BoldMinded (Brian)

Right now I’m seeing a var_dump(), are you debugging it?

array(3) { ["entries"]=> array(52) { [0]=> int(1688) [1]=> int(1673) [2]=> int(1662) [3]=> int(1655) [4]=> int(1108) [5]=> int(629) [6]=> int(1124) [7]=> int(825) [8]=> int(1030) [9]=> int(468) [10]=> int(811) [11]=> int(827) [12]=> int(563) [13]=> int(1688) [14]=> int(1673) [15]=> int(1662) [16]=> int(1655) [17]=> int(1108) [18]=> int(629) [19]=> int(1124) [20]=> int(825) [21]=> int(1030) [22]=> int(468) [23]=> int(811) [24]=> int(827) [25]=> int(563) [26]=> int(1688) [27]=> int(1673) [28]=> int(1662) [29]=> int(1655) [30]=> int(1108) [31]=> int(629) [32]=> int(1124) [33]=> int(825) [34]=> int(1030) [35]=> int(468) [36]=> int(811) [37]=> int(827) [38]=> int(563) [39]=> int(1688) [40]=> int(1673) [41]=> int(1662) [42]=> int(1655) [43]=> int(1108) [44]=> int(629) [45]=> int(1124) [46]=> int(825) [47]=> int(1030) [48]=> int(468) [49]=> int(811) [50]=> int(827) [51]=> int(563) } ["channel_ids"]=> array(20) { [0]=> int(12) [1]=> int(18) [2]=> int(19) [3]=> int(5) [4]=> int(13) [5]=> int(12) [6]=> int(18) [7]=> int(19) [8]=> int(5) [9]=> int(13) [10]=> int(12) [11]=> int(18) [12]=> int(19) [13]=> int(5) [14]=> int(13) [15]=> int(12) [16]=> int(18) [17]=> int(19) [18]=> int(5) [19]=> int(13) } ["end"]=> string(28) " ORDER BY t.entry_date desc" }
#6

BoldMinded (Brian)

Note that I searched for the word “test” - What were you using as a search term?

You must be debugging b/c Publisher doesn’t have any errant var_dump() calls in the code from what I can tell.

#7

Sears Davies

I’m not debugging, but I think you are right that something is var_dumping the returned entries array. If you submit a term with no results you get bool(false), otherwise you get an array of entries.

#8

BoldMinded (Brian)

Have you done any editing of files? Publisher doesn’t have any var_dump() calls in its code without a // in front of it, so I don’t think this is coming from Publisher.

#9

Sears Davies

I haven’t edited anything since installing your most recent build.

You have var_dumps in ext.publisher.php on line 1631 and vendor/guzzlehttp/guzzle/src/functions.php on line 50.

The one in functions.php is the one causing the problem.

#10

Sears Davies

Ignore that for a moment; I didn’t realise EllisLab Support were in there. I’ll find out what happened and will give you a final update. The search is working again now anyway. Thanks for your support.

Login to reply