solved Recurring errors in Activity Log related to JrGallery

alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
My site is just about ready and I'm hoping to go live tomorrow. Everything seems to be working well enough on the front end. But I took a look at the activity log and found pages and pages of a repeated error message -- every few seconds to every few minutes -- since 2 days ago when I modified the image upload forms and had a discussion with Michael about the gallery_title field. ( https://www.jamroom.net/the-jamroom-network/forum/my_posts/43625/can-i-modify-multiple-data-records-at-once-in-this-case-image-data-that-i-messed-up-while-trying-to-modify-a-form)

The subject line of all the errors is "invalid search criteria in jrCore_db_search_items parameters", sometimes with a user's name in front of it, sometimes without.

See attached screenshots:
1. First occurrence of the error
2 Content of that first occurrence's Debug Entry
3. Other occurrences' Debug Entries.

Is this a result of leaving the Gallery Title field blank and/or hidden? How do I fix it?




updated by @lesrinchen: 12/18/16 04:24:49PM
michael
@michael
8 years ago
7,746 posts
The errors seam to be as a result of a datastore request to get something, then the gallery_title_url not provided.

I will go try to recreate it here. Once I understand how its being triggered I can tell you what needs to be done or fix it if its a bug.

What the error is saying is "You've told me to go get something from the datastore, but forgotten to tell me what to get".

Suspect its probably related to the "Group by Gallery" setting, but will confirm once I know more.

Thanks for the detailed report of the issue, makes things easier for me :)
alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
Thanks for looking into this, Michael! I appreciate your help.
michael
@michael
8 years ago
7,746 posts
The issue is this url:
http://stitchingbuddhas.com/testlisa

On that page the activity timeline is showing an entry that reads "5 days ago TestLisa" gallery was created, but it didn't have a gallery_title_url, so now when that activity action is show, it tries to get some of the images from that gallery to show on the timeline.

It fails because there is no gallery_title_url. When it searches for and fails to find any images because there was no gallery_title_url the system thinks you this is something you want to know about, so logs it to the activity log.

Its not a system stopping issue, but if you wanted to get rid of it delete that timeline entry.
alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
I deleted that timeline entry and a few others, and the error seems to have stopped. I'll check again in a few hours just to be sure. But so far, it looks good. THANKS for locating that. There's no way I ever would have found it!
michael
@michael
8 years ago
7,746 posts
You didn't really need to locate it, it would have gone away as those timeline entries got further and further down the list as the new entries come to the top.

Nice to get rid of them though, gives peace of mind. Well done.
alt=
LesRinchen
@lesrinchen
8 years ago
109 posts
Yes, peace of mind is important, and the process helped me to understand the system a little better. Every little bit counts! Thanks.

Tags