May 27, 2024 3:33 pm
Hi
I was running a test today and found that I can't delete a member, although it's possible to deactivate one. If I go to my WP Admin page then 'wpForo' > 'Members' and try to delete a member from there, the admin page jumps to 'Users' > 'All Users', and it shows an error message;
#wpForo
From the email I received telling me of the error (details copied below), there seems to be a conflict with Elementor/Pro.
Anyone got any ideas?
Error Details ============= An error of type E_ERROR was caused in line 25 of the file /home/*******/domains/vital50plus.com/public_html/wp-content/plugins/elementor/core/utils/collection.php. Error message: Uncaught TypeError: Elementor\Core\Utils\Collection::__construct(): Argument #1 ($items) must be of type array, null given, called in /home/****/domains/vital50plus.com/public_html/wp-content/plugins/elementor-pro/core/database/query-builder.php on line 1070 and defined in /home/****/domains/vital50plus.com/public_html/wp-content/plugins/elementor/core/utils/collection.php:25 Stack trace: #0 /home/***/domains/vital50plus.com/public_html/wp-content/plugins/elementor-pro/core/database/query-builder.php(1070): Elementor\Core\Utils\Collection->__construct() #1 /home/***/domains/vital50plus.com/public_html/wp-content/plugins/elementor-pro/core/database/model-query-builder.php(69): ElementorPro\Core\Database\Query_Builder->count() #2 /home/****/domains/vital50plus.com/public_html/wp-content/plugins/elementor-pro/modules/notes/user/delete-user.php(48): ElementorPro\Core\Database\Model_Query_Builder->count() #3 /home/****/domains/vital50plus.com/public_html/wp-content/plugins/elementor-pro/modules/notes/user/delete-user.php(19): ElementorPro\Modules\Notes\User\Delete_User->on_user_delete_form() #4 /home/****/domains/vital50plus.com/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\Notes\User\Delete_User->ElementorPro\Modules\Notes\User\{closure}() #5 /home/****/domains/vital50plus.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/****/domains/vital50plus.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/*******/domains/vital50plus.com/public_html/wp-admin/users.php(441): do_action() #8 {main} thrown
5 Replies
May 28, 2024 12:44 pm
Hi,
I'll ask the developers and get back to you soon.
However, I'd also recommend that you contact Elementor/Pro support as well.