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: A PHP Error was encountered
Status | Resolved |
Add-on / Version | Publisher 1.2.2 |
Severity | Critical |
EE Version | 2.8 |
Geoff Lewin
Mar 11, 2014I’m getting the following errors when viewing the index page and new languages I add do not show in the drop down list on entry pages.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: group
Filename: models/publisher_template.php
Line Number: 938
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: models/publisher_template.php
Line Number: 938
A PHP Error was encountered
Severity: Notice
Message: Undefined index: template
Filename: models/publisher_template.php
Line Number: 946
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: models/publisher_template.php
Line Number: 946
Kind regards
Geoff
Geoff Lewin
Sorry, the languages now show up in the dropdown menus.
BoldMinded (Brian)
Are you still getting the errors? Have you added any templates to the site yet?
Geoff Lewin
Yes still getting the errors. I’ve created a template which displays content from an entry.
BoldMinded (Brian)
Emailed 1.2.3
Geoff Lewin
I’ve installed the new version but still getting the PHP errors.
BoldMinded (Brian)
Are the errors on the same lines of code?
Geoff Lewin
No sorry, the errors are as follows;
A PHP Error was encountered Severity: Notice Message: Undefined index: group Filename: models/publisher_template.php Line Number: 945
A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: models/publisher_template.php Line Number: 945
A PHP Error was encountered Severity: Notice Message: Undefined index: template Filename: models/publisher_template.php Line Number: 953
A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: models/publisher_template.php Line Number: 953
BoldMinded (Brian)
Add this code: https://www.evernote.com/shard/s9/sh/be5de51a-15d5-48f1-819b-8be6ec88d0aa/04213ac3defb0a723f9e2c48d16a3fd8
Geoff Lewin
That fixed it!
Thanks very much.