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.

 

wpForo 1.x.x [Solved] Problem after registering new User

5 Posts
2 Users
0 Reactions
1,761 Views
Posts: 3
Topic starter
(@windy)
Active Member
Joined: 9 years ago

Hi, my Users get a Problem after registering via a custom Registering form.

Warning: Missing argument 2 for wpforo_update_last_login_date() in /var/www/web267/html/wp-rfutd/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php on line 1104

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web267/html/wp-rfutd/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php:1104) in /var/www/web267/html/wp-rfutd/wp-includes/pluggable.php on line 1174

What can I do?

4 Replies
Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

That do you mean saying "custom Registering form"? What plugin you use for registration?

Posts: 3
Topic starter
(@windy)
Active Member
Joined: 9 years ago

I created a whole custom registration form. It was already there before I installed the wp_foro plugin

Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

We'll fix this issue in next version. At the moment, please open /wpforo/wpf-includes/wpf-hooks.php file, find this line:

function wpforo_update_last_login_date($user_login, $user){

Change to this:

function wpforo_update_last_login_date($user_login, $user = array()){
    if(empty($user)) return;
Posts: 3
Topic starter
(@windy)
Active Member
Joined: 9 years ago

Thank you very much. It works!

And by the Way, the plugin is awesome, thank you for creating it.