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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8535
- Created
- Tuesday 03 October, 2023 21:19:51 UTC
by Kevin Doyle - LastModif
- Tuesday 03 October, 2023 21:19:51 UTC