Be sure to checkout our newest add-on, Speedy — Advanced Caching for ExpressionEngine.

Compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field (it's in the works).

Ticket: Receiving a Fatal Error when trying to save or preview an entry

Status Resolved
Add-on / Version Publisher Lite 2.10.6
EE Version 5.1.2


Jan 21, 2019

Hello, when we’re trying to preview or save an entry, we’re getting the following error:

Fatal error: Uncaught Error: Call to undefined method Publisher_draft_preview::isAuthorized() in /var/www/html/xxx/system/user/addons/publisher/ext.publisher.php:259 Stack trace: #0 /var/www/html/xxx/system/ee/legacy/libraries/Extensions.php(222): Publisher_ext->core_boot() #1 /var/www/html/xxx/system/ee/legacy/libraries/Extensions.php(117): EE_Extensions->call_class(‘Publisher_ext’, ‘core_boot’, Array, Array) #2 /var/www/html/xxx/system/ee/legacy/core/Controller.php(85): EE_Extensions->call(‘core_boot’) #3 /var/www/html/xxx/system/ee/legacy/core/Controller.php(99): EE_Controller->__construct() #4 /var/www/html/xxx/system/ee/EllisLab/ExpressionEngine/Controller/Publish/AbstractPublish.php(30): CP_Controller->__construct() #5 /var/www/html/xxx/system/ee/EllisLab/ExpressionEngine/Controller/Publish/Publish.php(24): EllisLab\ExpressionEngine\Controller\Publish\AbstractPublish->__construct() #6 /var/www/html/xxx/system/ee/EllisLab/ExpressionEngine/Core/Core.php(228): EllisLab\ExpressionEngine\Controller\Publish\Publish->__con in /var/www/html/xxx/system/user/addons/publisher/ext.publisher.php on line 259

Thank you,


BoldMinded (Brian)

Jan 21, 2019

Based on that stack I feel like something is messing up your file loading, or something is overriding the publisher_draft_preview model that does not have an isAuthorized() method on it. Since this is something that I can’t replicate, and no one else is reporting as an issue, and more to the matter that these few lines of code haven’t been changed in months or longer, I would suspect something is up with your environment. Have you tried recreating the issue in a brand new install of EE and Publisher?

            if (!ee()->publisher_draft_preview->isAuthorized()) {


Jan 21, 2019

we’re also getting this error whenever trying to publish if that helps troubleshoot (and on another EE installation on that same server, publisher is working fine):

Use of undefined constant PUBLISHER_STATUS_OPEN - assumed ‘PUBLISHER_STATUS_OPEN’ (this will throw an Error in a future version of PHP)

user/addons/publisher/config.php, line 61

  Severity: E_WARNING

Fatal error: Class ‘Pimple\Container’ not found in /var/www/html/xxx/system/user/addons/publisher/bootstrap.php on line 3


BoldMinded (Brian)

Jan 21, 2019

This definitely seems like something isn’t installed correctly, or there are old files laying around or something, but Publisher doesn’t have a bootstrap.php file and definitely doesn’t use Pimple for DI. Do you have two publisher folders in your addons directory? I suggest taking a second look at your setup to see what is missing or what there may be duplicate files of.



Jan 21, 2019

This was from an EE v2 upgrade, so yeah maybe something didn’t upgrade/install correctly along the way. I wiped the /system/user/addons/publisher/ folder and re-installed from download and it appears to be working..


Login to reply


For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to