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: PHP Errors when using language prefix in URL

Status Resolved
Add-on / Version Publisher 1.5.9
Severity Critical
EE Version 2.9.2

Stephen Tidmore

Dec 17, 2014

I’ve testing out getting our URLs to work with the language prefix added into the URL and have run into a PHP error. My Publisher settings for the URL Translation section are:

Enable URL translations? No
Add URL prefix? Yes
Add URL prefix to the homepage? Yes
Hide the prefix for default language? No

Whenever I set “Add URL prefix?” to be yes, I immediately get PHP errors on the front end. The errors are:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: action
Filename: Publisher/Publisher_parser.php
Line Number: 410

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /path/to/ee/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 479

I’ve gone through and disabled all extensions except for the Publisher extension and I’ve also uninstalled all Modules other than Publisher and I’m still getting the same error. Any idea what could be causing that?

Thanks for your help.

#1

BoldMinded (Brian)

Stephen, I’m going to email you a new build that fixes this.

#2

BoldMinded (Brian)

I think you said in an email the new build fixed it, so going to close this ticket.

Login to reply