Comments on: Recent Mood Issues http://kccricket.net/archives/recent-mood-issues A stream of text from the +5 keyboard of insightfulness. Mon, 26 Jul 2010 21:04:54 +0000 hourly 1 http://wordpress.org/?v=3.8.13 By: Cricket Moods version 3.2 : Losing it[1] http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1174 Sun, 17 Dec 2006 14:51:28 +0000 http://kccricket.net/archives/19#comment-1174 [...] I had a quick look at those lines in the plugin and was immediately reminded that I am not a coder. Obviously something was broken, but I had no idea what. After some random searching, I eventually found this post on the author’s site, in which he noted that he was aware that there was a problem, and that he’d fix it as soon as he could. OK, I was relieved that it wasn’t just my site being broken, but I really wanted to make the error go away. [...]

]]>
By: kccricket http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1171 Sun, 17 Dec 2006 01:36:40 +0000 http://kccricket.net/archives/19#comment-1171 !!blue:

The same error is actually occurring for you, the error just isn’t showing up. I experienced the same behavior testing with a WP 2.1 alpha.

]]>
By: kccricket http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1170 Sat, 16 Dec 2006 19:18:08 +0000 http://kccricket.net/archives/19#comment-1170 Les:

Yep, that will definately fix the error. However, keep in mind that moods used in posts by the user may not match up with the default list of moods.

With the rudimentary testing I’ve been able to do over dial-up on my POS laptop, it appears that the WP get_usermeta function is not un-serializing the serialized user-mood array in the database. I should be able to give this more attention on Monday evening.

It appears that I don’t need to be serializing and escaping the array before passing it to update_usermeta.

]]>
By: Les http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1169 Sat, 16 Dec 2006 10:51:48 +0000 http://kccricket.net/archives/19#comment-1169 OK – a quick work around. Take life in hands, make sure you have a backup, etc, etc.

Using phpMyAdmin or your personal choice of database editing too, go into the wp_usermeta table. Delete the two fields relating to Cricket Moods for each affected user. (I have one user, so this was easy)

Removing the fields resets the user to the default moods. My added mood is present and correct, and the nasty error is gone. Hope this helps someone :)

]]>
By: Les http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1168 Sat, 16 Dec 2006 10:43:15 +0000 http://kccricket.net/archives/19#comment-1168 This error just bit me this morning. Hope a fix can be sorted out soon :)

]]>
By: !!blue http://kccricket.net/archives/recent-mood-issues/comment-page-1#comment-1163 Thu, 14 Dec 2006 19:02:36 +0000 http://kccricket.net/archives/19#comment-1163 I look forward to a fix for this issue. :) I don’t receive the error above, what happens to me is that the default and newly added fields disappear and I get 5 blank fields starting with ID #21.

]]>