PHP 8.1 and Flatbase 2.0.8
This support request was posted in Flatbase by tap_erplus
- tap_erplus November 10, 2022 at 9:22 am
We are using Flatbase 2.0.8 and NiceFramework 2.0.9.1
and want to update to php 8.1.But we get the following exception:
Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /var/www/wp-content/themes/flatbase/engine/admin/classes/class-nice-web-font-subscriber.php:111 Stack trace: #0 /var/www/wp-content/themes/flatbase/engine/admin/classes/class-nice-web-font-subscriber.php(111): join(Array, ‘|’)
Like https://nicethemes.com/forums/topic/fatal-error-after-install/
What is the solution?
Juanfra Aldasoro November 12, 2022 at 9:33 amHi,
Thank you for reaching out to us. And I’m sorry for the inconvenience.
Can you please try replacing that file that’s giving the error(flatbase/engine/admin/classes/class-nice-web-font-subscriber.php) with this new one:https://gist.github.com/juanfra/18fe6748ec662e27fd95d59735089616?
Best,
Juan.
You must be logged in to reply to this topic.