Loading...
 
Skip to main content

Fatal error Uncaught TypeError in_array Argument #2 $haystack must be of type array, bool given in binderlib.php 49

Status
Open
Subject
Fatal error Uncaught TypeError in_array Argument #2 $haystack must be of type array, bool given in binderlib.php 49
Version
26.x
Category
  • Bug
  • Error
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
New
Submitted by
Kevin Doyle
Lastmod by
Kevin Doyle
Rating
(0)
Description

Clean install of php8.1-fpm and nginx on ubuntu 22.04
I was able to run the new tiki-check.php from git and all looks good, db is recognised, php is all good.
Cannot get back this error,
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /var/www/tiki/tiki-26.0/lib/perspective/binderlib.php:49 Stack trace: #0 /var/www/tiki/tiki-26.0/lib/perspective/binderlib.php(49): in_array() #1 /var/www/tiki/tiki-26.0/tiki-setup_base.php(662): AreasLib->getPerspectiveByObjectAndCategories() #2 /var/www/tiki/tiki-26.0/tiki-setup_base.php(668): {closure}() #3 /var/www/tiki/tiki-26.0/tiki-setup.php(66): require_once('...') #4 /var/www/tiki/tiki-26.0/tiki-index.php(43): require_once('...') #5 {main} thrown in /var/www/tiki/tiki-26.0/lib/perspective/binderlib.php on line 49

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8535
Created
Tuesday 03 October, 2023 21:19:51 UTC
by Kevin Doyle
LastModif
Tuesday 03 October, 2023 21:19:51 UTC


Show PHP error messages