Help me understand error logs

gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Hey Guys

I have this recurring error in my activity log


Key

Value

Message invalid order_by in jrCore_db_search_items - value must be an array
Date 09/05/15 19:01:21
IP Address 89.168.16.78
URL /jamroom/artists_following/
Memory 1.8MB
Data Array
(
[0] => jrProfile
[1] => Array
(
[jrcore_list_function_call_is_active] => 1
[quota_id] => 3
[search] => Array
(
[0] => _profile_id IN
[1] => profile_quota_id = 3
)

[template] => item_list.tpl
[module] => jrProfile
)

)


I nolonger have a template artists_following and this error is confusing me.
updated by @garymoncrieff: 06/18/15 02:57:08PM
brian
@brian
10 years ago
10,149 posts
looks like the URL is:

/jamroom/artists_following

Is Jamroom in a sub directory? That is the URL the error is coming from, so there must be a template at that location OR you have modified your 404.tpl and added a jrCore_list call there.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
No it's not in sub directory or I havent modifed the 404 template, it's weird as there is no jamroom folder either. Its installed in the root folder.
brian
@brian
10 years ago
10,149 posts
And you're still seeing that error? Or are they older errors?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Yes still seeing it.

I also see this on a regular basis,

Message invalid order_by in jrCore_db_search_items - value must be an array
Date 10/05/15 15:30:23
IP Address 62.24.181.135
URL /blog/image/blog_image/13/xsmall/crop=auto
Memory 1.8MB
Data Array
(
[0] => jrBlog
[1] => Array
(
[search] => Array
(
[0] => _profile_id = 1
[1] => _item_id > 13
)

[order_by] => blog_created desc
[skip_triggers] => 1
[limit] => 1
[module] => jrBlog
)

)


But that's not my ip address which leads me to believe its some sort of bot?
brian
@brian
10 years ago
10,149 posts
That IP address is for the visitor - not your site.

So the root cause here is this:

[order_by] => blog_created desc

This is wrong since it is NOT an array. That order_by occurs no where in our code, so I'm not sure where you are seeing that at - are all modules up to date?

Note that you can turn of Developer mode and you will no longer see it (it's there as a help to developers).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags