All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

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