AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] conflict when importing users

3 Posts
2 Users
0 Reactions
1,164 Views
Posts: 59
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@agendavolo)
Trusted Member
Joined: 9 years ago
[#26195]

I believe with the latest WpForo update there is a conflict with the plugin Import Users  which I have used for a long time.  Now the backend crashes and a message is delivered:

An error E_ERROR was caused at line 231 of file /.../plugins/wpforo/classes/Cache.php. Message: Uncaught Error: Call to a member function reset() on null in /.../plugins/wpforo/classes/Cache.php:231 Stack trace: #0 /.../plugins/wpforo/includes/functions.php(1823): wpforo\classes\Cache->clean(13496, 'avatar', Array) #1 /.../plugins/wpforo/classes/Members.php(1751): wpforo_clean_cache('avatar', 13496) #2 /.../plugins/wpforo/classes/Members.php(108): wpforo\classes\Members->reset(13496) #3 /.../wp-includes/class-wp-hook.php(310): wpforo\classes\Members->wpforo\classes\{closure}(13496) #4 /.../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #5 /.../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /.../wp-includes/user.php(1904): do_action('clean_user_cach...', 13496, Object(WP_User)) #7 /.../wp-includes/user.php(2433): clean_user_cache(Object(WP_User)) #8 /

There is also a persistent error in the tools>debug log:

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /.../wp-includes/class-wp-hook.php on line 308

 

Could you please investigate as soon as possible? Thank you

wpForo Version
2.1.0
WordPress Version
6.1

2 Replies
Robert
Posts: 10727
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Hi @agendavolo,

Please update to 2.1.1 version. It should fix the problem.


1 Reply
(@agendavolo)
Joined: 9 years ago

Trusted Member
Posts: 59
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert thank you for the prompt correction, I confirm it works now.

I got a little error (as if some users were not imported) but I guess it's because of the previous bug, since the database has stored them correctly under wpforo_profiles.

I will come back here if any future attempts of importing users should fail. cheers


Share: