EEConf 2024 is around the corner! EEConf 2024
Hi,
I get PHP errors when working with fields. Everything seems to work fine except creating and editing fields. I successfully added three fields but when I try to edit them or add more fields I get this error:
TypeError Caught
in_array(): Argument #2 ($haystack) must be of type array, string given
ee/ExpressionEngine/Controller/Fields/Fields.php:837
Stack Trace: Please include when reporting this error
#0 ee/ExpressionEngine/Controller/Fields/Fields.php(837): in_array(NULL, '')
#1 ee/ExpressionEngine/Controller/Fields/Fields.php(313):
ExpressionEngine\Controller\Fields\Fields->form(Object(ExpressionEngine\Model\Channel\ChannelField))
#2 [internal function]: ExpressionEngine\Controller\Fields\Fields->create()
#3 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#4 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#5 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#6 public_html/aca_ee.php(139): require_once('...')
#6 public_html/aca_ee.php(139): require_once('...')
The web server looks like this:
FreeBSD 13.1-RELEASE-p3 GENERIC amd64
Apache/2.4.54 (FreeBSD) mpm-itk/2.4.7-04 PHP/8.1.13
Version 8.1.13
MySQL 10.3.36-MariaDB
Version 7.2.3
Has anyone seen this behavior before?
Best regards,
Matts
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.