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: Logged out users not able to view draft URL

Status Resolved
Add-on / Version Publisher Lite 3.11.2
Severity
EE Version 7.4.10

0to9 Cross Creative Agency

Jun 04, 2024

If I log out and go to the preview URL (after saving draft), I get the following error: Error Caught Call to a member function getAllRoles() on null App.php:202

#1

BoldMinded (Brian)

Can you please provide the full stack trace?

#2

BoldMinded (Brian)

Also, do you have the authorized draft preview setting enabled?

#3

BoldMinded (Brian)

I meant full stack trace, not stack track. I need to see what is called before leading up to the error.

#4

0to9 Cross Creative Agency

Comment has been marked private.

#5

BoldMinded (Brian)

If publisher_key is in the URL that means it’s an authorized preview. If you share the full call stack, that’s the entire error message not just the first line, then I can look into this further.

#6

0to9 Cross Creative Agency

Comment has been marked private.

#7

0to9 Cross Creative Agency

Comment has been marked private.

#8

BoldMinded (Brian)

Comment has been marked private.

#9

BoldMinded (Brian)

Did that latest build help resolve the issue?

#10

0to9 Cross Creative Agency

Comment has been marked private.

#11

BoldMinded (Brian)

Comment has been marked private.

#12

0to9 Cross Creative Agency

Comment has been marked private.

#13

BoldMinded (Brian)

Can you share what your entries tag looks like? Do you have the status parameter in it? status=”{publisher:entry_status}”

#14

BoldMinded (Brian)

Comment has been marked private.

#15

BoldMinded (Brian)

I just did a quick test of this locally and all the draft previewing functionality appears to be working fine, even in an incognito window. I would suggest creating a very basic entry with just the title and another text field in a new channel, and a brand new template with only a single entries tag in it to display that entry and see if you can replicate the issue.

#16

0to9 Cross Creative Agency

Comment has been marked private.

#17

BoldMinded (Brian)

I’m going to go ahead and close this ticket. Feel free to re-open it if needed.

Login to reply