Online Users Error  


lovingpenguin
Posts: 13
Customer
(@lovingpenguin)
Member
Joined: 1 year ago

Hi,

We have error a new error since we updated WPDiscuz in the plugin wpdiscuz-online-users, in file includes/wou-db-managaer.php:87. You might need to change the inser to a replace operation:

(I replaced some sensitve information with YYY and XXX)

PHP message: WordPress-Database-Error Duplicate entry '1-0-YYYYYYYYYY=' for key 'unique_online_user' for query INSERT INTO wp_wc_online_users (`blog_id`, `user_id`, `user_email`, `display_name`, `user_ip`, `last_online`, `last_online_timestamp`) VALUES (1, 0, 'YYYYYYYYYY=', 'Lukas', 'XXXXXXXXXX', '2018-05-27 01:26:47', 1527384407
)

Cheers,

Martin

4 Replies
Astghik
Posts: 2651
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi lovingpenguin,

Could you please describe in detail when exactly this problem occurs?

Reply
Astghik
Posts: 2651
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi Martin,

Please update wpDiscuz Online Users to 1.0.6 version and check again. If this error still exists, please let us know. 

Also, make sure you use the latest wpDiscuz (version 5.1.2).

Reply
1 Reply
lovingpenguin
Customer
(@lovingpenguin)
Joined: 1 year ago

Member
Posts: 13

Thanks Astghik,

This issue is fixed now, but there is another one: The online users plugin is checking ever 1-2 minutes for the online status of the users. Whenever this happens, the console throws errors:

https://lovingpenguin.com/de/ex-zurueck/ex-zurueck-strategie/

discuz

Cheers,

Martin

Reply
Astghik
Posts: 2651
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi Martin,

Please exclude wpDiscuz Online Users and wpDiscuz Google reCAPTCHA plugins' js files from your optimization plugin settings. Let us know if the problem still exists. 

Reply
Share: