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: Publisher throwing error
Status | Resolved |
Add-on / Version | Publisher 2.7.10 |
Severity | |
EE Version | 3.5.16 |
Kevin Chatel
May 02, 2018Here is the error we are experiencing
Fatal error: Uncaught Error: Call to a member function getId() on null in /expression/system/user/addons/publisher/Service/TemplateTranslation.php:96 Stack trace: #0 /expression/system/user/addons/publisher/addon.setup.php(76): BoldMinded\Publisher\Service\TemplateTranslation->__construct(Object(BoldMinded\Publisher\Service\Request), Array) #1 [internal function]: EllisLab\ExpressionEngine\Core\Application->{closure}(Object(EllisLab\ExpressionEngine\Core\Provider)) #2 /expression/system/ee/EllisLab/ExpressionEngine/Core/Provider.php(305): call_user_func_array(Object(Closure), Array) #3 /expression/system/ee/EllisLab/ExpressionEngine/Service/Dependency/InjectionContainer.php(141): EllisLab\ExpressionEngine\Core\Provider->EllisLab\ExpressionEngine\Core\{closure}(Object(EllisLab\ExpressionEngine\Service\Dependency\InjectionContainer)) #4 /expression/system/ee/EllisLab/ExpressionEngine/Service in /expression/system/user/addons/publisher/Service/TemplateTranslation.php on line 96
BoldMinded (Brian)
Can you provide more info… what were you doing when getting this error? I need steps to replicate. Thanks.
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Can you provide the full stack trace from that error? In EE3 you need to click the show more details (or whatever its titled) link on the error page.
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Try making this change, then turning on the template translations again, and re-submitting an order to replicate the issue and see if it happens again.
https://www.dropbox.com/s/vhx1rfc4r43xp7a/Screenshot 2018-05-02 18.48.56.png?dl=0
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Try changing that last line to
If the product options field saves its data in a custom CT table (which I’m assuming it does), then no, it won’t work with Publisher. They’d need to add support for languages to that table.
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Comment has been marked private.
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Sounds like Cartthrob, is something else, is doing something out of the norm. Do you have a staging/dev site I could login to and debug? I’d need FTP access. Will also be a few days before I can take a close look at this one.
Kevin Chatel
Comment has been marked private.
BoldMinded (Brian)
Yeah I don’t want to completely write of Publisher as the culprit, but something similar happened recently with the DevDemon Forms module where it decided to completely bypass EE’s normal rendering process and perform its own page rendering. In cases like that Publisher can’t really do what its supposed to do.
BoldMinded (Brian)
Comment has been marked private.
Kevin Chatel
Comment has been marked private.
Kevin Chatel
Comment has been marked private.