econveyors
Member
Hello,
When I try to open the Advanced Search box on a specific list, it gives me the error "0 - Call to a member function get() on null". The Network tab in developer tools shows http://mysite.com/media/jui/js/jquery.js as the initiator.
I have tried to disable all elements from being shown in the Advanced Search and it did not make a difference.
Any thoughts on where to look to debug this?
Clearly the jQuery is not finding something in one of the elements, I just can't figure out what it is.
Other lists on this site don't have any issues with Advanced Search.
Edited to add:
I turned on error reporting and noticed these errors on the list.
Notice: Undefined variable: item in /../components/com_fabrik/models/list.php on line 12274
Notice: Trying to get property 'id' of non-object in /../components/com_fabrik/models/list.php on line 12274
Line 12274 is
$context = 'com_'.$package.$menu.$item->id.'list'.$listId;
So, it's looking for the list id?
Also, I do have two databasejoin elements in this list, but their values are showing correctly in the list rows, so not sure if they are the issue or not?
Thanks
When I try to open the Advanced Search box on a specific list, it gives me the error "0 - Call to a member function get() on null". The Network tab in developer tools shows http://mysite.com/media/jui/js/jquery.js as the initiator.
I have tried to disable all elements from being shown in the Advanced Search and it did not make a difference.
Any thoughts on where to look to debug this?
Clearly the jQuery is not finding something in one of the elements, I just can't figure out what it is.
Other lists on this site don't have any issues with Advanced Search.
Edited to add:
I turned on error reporting and noticed these errors on the list.
Notice: Undefined variable: item in /../components/com_fabrik/models/list.php on line 12274
Notice: Trying to get property 'id' of non-object in /../components/com_fabrik/models/list.php on line 12274
Line 12274 is
$context = 'com_'.$package.$menu.$item->id.'list'.$listId;
So, it's looking for the list id?
Also, I do have two databasejoin elements in this list, but their values are showing correctly in the list rows, so not sure if they are the issue or not?
Thanks
Last edited: