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: Error during module updates

Status Resolved
Add-on / Version Publisher 1.6.3
Severity
EE Version 2.10.0

Michael Boyink

May 12, 2015

Description:
Hey Brian - I’m just now back to updating the site we talked about a while back (long story).

Detailed steps to reproduce the issue:
1.Log into EE
2.Go to Modules & click Run Module Updates
3. Get the error:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Addons_modules::$publisher_setting

Filename: publisher/upd.publisher.php

Line Number: 1192
Fatal error: Call to a member function get() on a non-object in /(path removed)publisher/upd.publisher.php on line 1192

This is in a dev environment - I don’t see a Publisher directory in either the dev or live environments. I didn’t see steps to create that in the install directions, so assume Publisher does it upon install?

#1

BoldMinded (Brian)

The only publisher directory would be in the third_party folder, it only tries to create a file in the cache folder. Not sure what you mean by not seeing a publisher directory in the dev or live environment.

Just before 1192 of that upd.publisher.php file you can add this line and it should fix it. Looks like you’re updating from a really old version.

// Add on line 1191 ee()->load->model(‘publisher_setting’);

#2

Michael Boyink

Ah - thanks.

I read this here on the site:

If you are submitting a Publisher bug, check your cache/publisher/log.txt file for possible error messages. Include the messages in the bug report.

So I was looking for that txt for clues before submitting a ticket and didn’t see that publisher subfolder anywhere.

I updated and re-ran the module updates. The Publisher error is gone…now it’s on to a Stash error..😉

Thanks!

#3

BoldMinded (Brian)

Ah, yeah. That log file is pretty new, only used for a couple of things at the moment, so probably not relevant for you at the moment.

So adding that load->model line fixes it? If so I’ll make sure thats in the next release.

Good luck with the Stash stuff.

#4

Michael Boyink

Well, the error went away anyway..😊 I’ll post another ticket if I run into other issues.

I’ve never used Stash so this is all fun and games..

#5

BoldMinded (Brian)

Ah, ok. I’ll close this then.

Login to reply