Fatal error: Uncaug...
 
Notifications
Clear all

[Closed] Fatal error: Uncaught TypeError: array_merge()

2 Posts
2 Users
0 Reactions
1,296 Views
Posts: 1
Topic starter
(@corzel)
New Member
Joined: 3 years ago

Hi!, I'm getting this error. PHP 8.1.9.

 

Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www//htdocs/wp-content/plugins/wpforo/classes/Members.php:1750

Stacktrace

1. array_merge()/var/www//htdocs/wp-content/plugins/wpforo/classes/Members.php:1750
2. wpforo\classes\Members->init_current_user()/var/www//htdocs/wp-content/plugins/wpforo/classes/Members.php:109
3. wpforo\classes\Members->wpforo\classes\{closure}()/var/www/
/htdocs/wp-includes/class-wp-hook.php:307
4. WP_Hook->apply_filters()/var/www//htdocs/wp-includes/class-wp-hook.php:331
5. WP_Hook->do_action()/var/www/
/htdocs/wp-includes/plugin.php:476
6. do_action()/var/www//htdocs/wp-settings.php:598
7. require_once('...')/var/www/
/wp-config.php:116
8. require_once('...')/var/www//htdocs/wp-load.php:55
9. require_once('...')/var/www/
/htdocs/wp-admin/admin-ajax.php:22
10. {main}

thrown in /var/www/***/htdocs/wp-content/plugins/wpforo/classes/Members.php on line 1750

1 Reply
dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

wpforo is not compatible yet with 8.1. Switch back to 8.0.x