Sep 26, 2022 11:59 am
We recently upgraded to php8 and yesterday there was a fatal error on the site, which according to WordPress was caused by wpForo:
An error of type E_ERROR was caused in line 1747 of the file /var/www/xxx.com/wp-content/plugins/wpforo/classes/Members.php. Error message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/xxx.com/wp-content/plugins/wpforo/classes/Members.php:1747
The plugin is Version 2.0.5
Can you help identify what this might be?
4 Replies
Sep 26, 2022 12:32 pm
PHP 8.0.x or 8.1.x?
If the second, wpForo 2 is not yet compatible with PHP 8.1.x
Sep 26, 2022 2:41 pm
According to phpinfo:
PHP Version 8.0.23
Sep 26, 2022 2:42 pm
This issue was fixed in v2.0.8, please update your wpForo and don't use outdated versions.
Sep 26, 2022 4:01 pm
Noted, thank you Robert