This post is valid for customers who use Joomla and have received the error:
Duplicate entry '1-' for key 'whosonline' SQL=INSERT INTO `xxx_session` (`session_id`, `client_id`, `time`) VALUES ('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 0, 'xxxxxxxxxx').
One way to correct it is directly in the database using the "phpmyadmin" tool built into your cPanel.
-
Search the joomla database.
-
Check the jos-session table (jos_ if that's the prefix you use).
-
Select the Repair Table option from the bottom of the page display.
This solves the problem.