Support Forum
Hello guys,
I got an error today that i never encountered before:
2014/07/31 12:01 f m | spaErrError | 1 | database
file: /problem-with-post-edit-buttonome/friskytt/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php
line: 249
function: sp_add_cache
error: Duplicate entry '5*group' for key 'PRIMARY'
INSERT INTO wp_sfcache(cache_id, cache_out, cache) VALUES ('5*group',
I did cut the error message since it included several pages with code after the last line above. But if you want to see it, i will ofcourse post if for you. Is this something serious?
Cheers
It's a little issue we have seen once or twice bit been unable to track down. Actually - the code is very simple and there is no way it should be able to happen which is probably why it is rare and probably some sort of deep rooted glitch. Maybe a timing issue between a couple of database writes. We are still looking for the cause.
It is really harmless. But for peace of mind then you could go to the forum admin > toolbox > housekeeping and click on the 'Flush General Cache' task.
YELLOW
SWORDFISH
|
Yellow Swordfish said
I have to say that there was no logical reason for the error and it remains a mystery but yes - it has been changed to avoid such an error in the next release (5.5.1) which, if the WordPress team get 4,0 out today as planned, will follow immediately after that.
Great news!
Yellow Swordfish said
And indeed - now available for update...
Thanks for a great update Andy, but the error remain:
file: /problem-with-post-edit-buttonome/friskytt/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php
line: 248
function: sp_add_cache
error: Duplicate entry '260*group' for key 'PRIMARY'
[Error record dump removed by admin]
Removed the large error record as there is nothing to learn from that...
The first, obvious question is... are we definitely talking about version 5.5.1 here? You have upgraded to 5.5.1 - yes?
If that is a yes then can you tell me what version of MySQL you have on your website? And perhaps ask your hosting support if the mySQL implementation does support the 'REPLACE' keyword.
YELLOW
SWORDFISH
|