Fabrik on XAMPP with PHP 8.01 - does it work

bggann

Active Member
I'm having very strange behaviour in a configuration that is:
- XAMPP (newested version)
- PHP 8.01 (installed with XAMPP
- Joomla 3.9.24
- Fabrik 3.9.2

------------
I used akeeba to install a working site from my live server to an XAMPP development server.
- When I try to access a Fabrik Form/List from a menu on the front end I get a fatal error

"array_key_exists(): Argument #2 ($array) must be of type array, stdClass given"

I get a similar error when trying to access 'some' fabrik things in the back end
Like /Components/Fabrik returns
implode(): Argument #2 ($array) must be of type ?array, string given

Components/Fabrik/List - works.
----------------------
I've replicated this on several sites
The only difference between the live and local environments are

XAMP versus Apache
php 8.01(XAMPP) and 7.4.14 on live (Apache)_
Database 5.5.5-10.4.17-MariaDB (XAMPP) 10.3.25-MariaDB (live)

Any suggestions. I'll try rolling the XAMPP back to php 7.4.14, but it is not obvious how to do that.

Bob
 
I haven't heard anything from the Fabrik developers or any users that would confirm Fabrik working with PHP 8.

So if you need a stable system, I suggest you to roll back to PHP 7.3 or 7.4.
 
Yes - I installed XAMP with 7.4 and it is working as expected. If I can get a viable debugging environment up and running - I may be able to characterize it a bit better.
 
No, fabrik does not work with PHP8 yet. I tried that, but I get many errors for the array_key_exists function.
That function only is used in almost every file, so it will take some effort to update; not to mention al other updates.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top