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 error: array_key_exists() expects parameter 2 to be array, boolean given

Status Resolved
Add-on / Version Publisher
Severity Blocker
EE Version

Postitief

Jul 17, 2013

Hello,

I installed publisher (1.0.2) and I’m getting this error after installation on the website:

A PHP Error was encountered
Severity: Warning
Message: array_key_exists() expects parameter 2 to be array, boolean given
Filename: hooks/Publisher_structure_hooks.php
Line Number: 155

This error show up 10 times, equal to the number of translations, at the top of the webpage…

#1

BoldMinded (Brian)

Hi there. This is fixed for the 1.0.3 release which will probably be uploaded later today or tomorrow.

#2

Postitief

Does this also cause not all texts to be translated..? It shows the default language, even if the translation is entered.

#3

BoldMinded (Brian)

Are you referring to a Structure navigation tag or an entries tag that is not translated?

#4

Postitief

structure!

{exp:structure_entries parent="{structure:top:entry_id}"}
{title]
{/exp:structure_entries}
#5

BoldMinded (Brian)

exp:structure_entries isn’t a Structure tag, thats a different 3rd party plugin which isn’t supported. Try this tag instead http://buildwithstructure.com/documentation/displaying_child_page_content_structure_entries_examples/

#6

Postitief

@BoldMinded! Okey thanks! Didn’t thought about that. But it’s working with your suggested tag!

Only remaining the php error. Hope you are able to fix this today because I must show this to a customer by the end of tomorrow (Local time Netherlands).

#7

BoldMinded (Brian)

New build emailed.

#8

Postitief

@BoldMinded! Thanks, it’s working without any errors!

Login to reply