Online Users Error  

  RSS

lovingpenguin
(@lovingpenguin)
Member Customer
Joined: 10 months ago
Posts: 10
31/05/2018 6:37 pm  

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


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1542
01/06/2018 3:16 pm  

Hi lovingpenguin,

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


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1542
01/06/2018 11:14 pm  

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).


ReplyQuote
lovingpenguin
(@lovingpenguin)
Member Customer
Joined: 10 months ago
Posts: 10
06/06/2018 11:27 am  

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


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1542
06/06/2018 5:07 pm  

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. 


ReplyQuote
Share: