Unrecognized error in timeline and profile

Clay Gordon
Clay Gordon
@claygordon
2 weeks ago
754 posts
This showed up this morning:

jrCore_db_get_item} required parameter "item_id" is missing () {jrCore_db_get_item} required parameter "item_id" is missing ()

I have not changed any code in any templates that might have generated this error that I can see so I am wondering what the source of the error is.
michael
@michael
2 weeks ago
7,816 posts
Need more info to figure out the issue.

Most likely its some passed in parameter that's breaking call, like a username with an emoji in it or something else weird.

Need to see the page that when opened causes the error to occur and the full error with the ? parameters if necessary.

Send it to support at jamroom dot net if you don't want to show it publicly.

--edit--
The error itself is saying: "you asked me to get an item out of the datastore but didn't tell me the number of the item you wanted"
updated by @michael: 06/18/25 03:05:49PM
Clay Gordon
Clay Gordon
@claygordon
2 weeks ago
754 posts
Michael:

It looks like the content (a comment on a community post) that generates this error was deleted.

Here’s the profile page with the error in full.
https://forums.thechocolatelife.com/alek-dabo
michael
@michael
one week ago
7,816 posts
Right, it looks like something like this:
* the user created a forum topic,
* then commented on the forum topic
* then deleted the forum topic

and we're looking at the activity stream for that user which if they were not deleted would show something like
user
* created a forum topic "what chocolate do you like"
* added a reply to that topic "I like gilico kobe baked chocolate"

and now that the base is deleted the the activity timeline entry cant be shown properly.

something like that. Needs a check around it added into the template to check that the variable is a number greater than zero before trying to retrieve the info. or just delete those activity entries.

Tags