Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

[Solved] WP error on php8

5 Posts
3 Users
0 Reactions
1,719 Views
Posts: 10
Topic starter
(@mrchrs)
Active Member
Joined: 3 years ago

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?


Topic Tags
4 Replies
dimalifragis
Posts: 2600
(@dimalifragis)
Famed Member
Joined: 6 years ago

PHP 8.0.x or 8.1.x?

If the second, wpForo 2 is not yet compatible with PHP 8.1.x


Posts: 10
Topic starter
(@mrchrs)
Active Member
Joined: 3 years ago

According to phpinfo:
PHP Version 8.0.23


Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

@mrchrs,

This issue was fixed in v2.0.8, please update your wpForo and don't use outdated versions.


Posts: 10
Topic starter
(@mrchrs)
Active Member
Joined: 3 years ago

Noted, thank you Robert