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: Upgrading to 1.0.2 causes PHP error
Status | Resolved |
Add-on / Version | Publisher |
Severity | Blocker |
EE Version | 24 |
GIGA
Jul 16, 2013Hello,
i did upgrade from version 9.8 to 1.0.2. After i get php this error:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant PUBLISHER_LITE - assumed 'PUBLISHER_LITE'
Filename: publisher/mod.publisher.php
Line Number: 457
A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$publisher_setting
Filename: publisher/mod.publisher.php
Line Number: 463
Fatal error: Call to a member function get() on a non-object in /home/afisas/public_html/system/expressionengine/third_party/publisher/mod.publisher.php on line 463
BoldMinded (Brian)
How are you calling the exp:publisher:translate_phrase tag? This seems out of the ordinary that both of those errors are being called as publisher_setting is one of the first objects created, and PUBLISHER_LITE will be defined every time the extension file is run on the server.
BoldMinded (Brian)
Are you sure you copied all the new files correctly? I’m unable to replicate this.
Dimitri Neufeld
i call it with {exp:publisher:translate_phrase name=”phrase_name”}
yes all the publisher files are complete
Dimitri Neufeld
first i deleted old publisher files and uploaded the new version
Dimitri Neufeld
before upgrading publisher i did upgrade of assets to 2.1.4. May it case the error?
Dimitri Neufeld
when i try to access publisher in addons i got this:
BoldMinded (Brian)
Something obviously didn’t update correctly. The files look correct, look readable by the server. There are errors everywhere. The errors are being thrown because all these objects are created in the sessions_start hook which is not getting called.
BoldMinded (Brian)
It looks like you set the allow_extensions config setting to “n” and forgot to set it back after the upgrade.
Dimitri Neufeld
I had in my config [‘allow_extensions’] = ‘y’;
i set it to “no” and uploaded to server, then set it to “y” again.
Don’t have any idea why, but now works everything.
Thank you.