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: Deleting a member when in the members CP details errors out

Status Resolved
Add-on / Version Publisher 3.8.0
Severity
EE Version 7.2.2

Kevin Chatel

Dec 02, 2022

Hi Brian,
When in the CP and viewing a members details, you are not able to delete them when clicking on the DELETE from the left menu options. The issue doesn’t happen when you click the checkbox next to the user in the list and then selecting delete and submitting.

Here is the error:

TypeError Caught
in_array(): Argument #2 ($haystack) must be of type array, string given
user/addons/publisher/Library/Basee/App.php:418

Stack Trace: Please include when reporting this error
#0 user/addons/publisher/Library/Basee/App.php(418): in_array()
#1 user/addons/publisher/Library/Basee/App.php(432): BoldMinded\Publisher\Library\Basee\App::isUninstallingAddon()
#2 user/addons/publisher/ext.publisher.php(2294): BoldMinded\Publisher\Library\Basee\App::isInstallingOrUninstallingAddon()
#3 user/addons/publisher/ext.publisher.php(341): Publisher_ext->validateInstallation()
#4 ee/legacy/libraries/Extensions.php(203): Publisher_ext->core_boot()
#5 ee/legacy/libraries/Extensions.php(108): EE_Extensions->call_class()
#6 ee/legacy/core/Controller.php(84): EE_Extensions->call()
#7 ee/legacy/core/Controller.php(102): EE_Controller->__construct()
#8 ee/ExpressionEngine/Controller/Members/Members.php(26): CP_Controller->__construct()
#9 ee/ExpressionEngine/Core/Core.php(257): ExpressionEngine\Controller\Members\Members->__construct()
#10 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController()
#11 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run()
#12 index.php(143): require_once(’...’)
#12 index.php(143): require_once(’...’)


The CP url of the error is : /system/index.php?/cp/members/delete

#1

BoldMinded (Brian)

Hi, Kevin. Can you share a screenshot of what you’re referring to? Not the error message… the page before the error message in which you’re taking an action on to cause the error. Thanks.

#2

Kevin Chatel

Comment has been marked private.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

Kevin Chatel

Thank you Brian. Fixed!

Login to reply