Publisher is EE6 compatible, but it does not support the Fluid field. 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: $default_language_id in toolbar.php issue

Status Resolved
Add-on / Version Publisher Lite 1.5.0
Severity Trivial
EE Version 2.7.3

Tomas Jurkevicius

Aug 27, 2014

Hi,

there seems to be a bug in toolbar.php script (publisher/views/toolbar.php) around line ~51:

<?php else: ?>
            <input type="hidden" name="site_language" value="<? echo $default_language_id ?>" />
<?php endif; ?>

It seems to be missing ‘php’ bit inside the value param for echoing default_language_id. This produces following error on publish view “The requested language () does not exist in the language array.”.

Adding ‘php’ seems to fix it:

value="<?php echo $default_language_id ?>"

Cheers.

Login to reply