Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] WP error on php8

5 Posts
3 Users
0 Reactions
1,396 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: 2601
(@dimalifragis)
Famed Member
Joined: 5 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: 10616
Admin
(@robert)
Support Team
Joined: 9 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