Notifications
Clear all

wpForo 1.x.x [Closed] Mysql Error

5 Posts
3 Users
0 Reactions
2,407 Views
Posts: 18
Topic starter
(@pedromg)
Eminent Member
Joined: 6 years ago

Hi, 

In my error logs i see a lot error like this: 

Got error 'PHP message: Error Duplicate entry '99' for key 'PRIMARY' de la base de datos de WordPress para la consulta INSERT INTO `wp_wpforo_profiles` (`userid`, `title`, `username`, `groupid`, `site`, `timezone`, `about`, `last_login`) VALUES (99, 'Miembro', 'XXXX', 3, '', '', '', '2018-09-17 09:45:38') realizada por require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, wpforo_actions, wpForoMember->create, register_new_user, wp_create_user, wp_insert_user, do_action('user_register'), WP_Hook->do_action, WP_Hook->apply_filters, wpforo_do_hook_user_register, wpForoMember->synchronize_user, wpForoMember->add_profile\n',

 

How i can fix it?

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

Please let me know when and where on forum you get this error.

1 Reply
(@pedromg)
Joined: 6 years ago

Eminent Member
Posts: 18

Hi robert, 

I detect de error in the error log files form server. 

When and where, i think is when the new user is created, refered from error is  https://www.avpasion.com/foro/?wpforo=signup

All line from error: 

[Tue Sep 18 10:14:00.664414 2018] [proxy_fcgi:error] [pid 5092] [client XXXXX:49688] AH01071: Got error 'PHP message: Error Duplicate entry '103' for key 'PRIMARY' de la base de datos de WordPress para la consulta INSERT INTO `wp_wpforo_profiles` (`userid`, `title`, `username`, `groupid`, `site`, `timezone`, `about`, `last_login`) VALUES (103, 'Miembro', 'XXXo', 3, '', '', '', '2018-09-18 08:13:55') realizada por require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, wpforo_actions, wpForoMember->create, register_new_user, wp_create_user, wp_insert_user, do_action('user_register'), WP_Hook->do_action, WP_Hook->apply_filters, wpforo_do_hook_user_register, wpForoMember->synchronize_user, wpForoMember->add_profile\n', referer: https://www.avpasion.com/foro/?wpforo=signup

 

Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi PedroMG,

Thank you for letting us know. This issue is fixed. We've already included it in next wpForo version, just wait for new release (no ETA yet).

1 Reply
(@pedromg)
Joined: 6 years ago

Eminent Member
Posts: 18

Awesome, thank you very much Robert!