Issue with php 8.03
-
Hi,
it appears that we are having an error when
wp_insert_user()
which triggered another Asgaros plugin action that throwed an error when php 8.03 is activated. Please see the error log below.[11-Aug-2023 12:27:50 Europe/Paris] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, WP_Error given in /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/asgaros-forum/includes/forum-usergroups.php:258 Stack trace: #0 /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/asgaros-forum/includes/forum-usergroups.php(258): array_filter() #1 /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/asgaros-forum/includes/forum-usergroups.php(794): AsgarosForumUserGroups::getUserGroups() #2 /var/www/vhosts/mysite.com/httpdocs/wp-includes/class-wp-hook.php(312): AsgarosForumUserGroups->add_new_user_to_usergroups() #3 /var/www/vhosts/mysite.com/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #4 /var/www/vhosts/mysite.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/vhosts/mysite.com/httpdocs/wp-includes/user.php(2497): do_action() #8 /var/www/vhosts/mysite.com/httpdocs/wp-settings.php(600): include('...') #9 /var/www/vhosts/mysite.com/wp-config.php(112): require_once('...') #10 /var/www/vhosts/mysite.com/httpdocs/wp-load.php(55): require_once('...') #11 /var/www/vhosts/mysite.com/httpdocs/wp-login.php(12): require('...') #12 {main} thrown in /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/asgaros-forum/includes/forum-usergroups.php on line 258
Did someone had the same issue?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Issue with php 8.03’ is closed to new replies.