Advanced Search not working after upgrade to Fabrik 3.5

mangotree

Member
Joomla: 3.5.1
PHP: 5.3.28
Fabrik: upgraded from 3.1 to 3.5

I have a view that uses the advanced search filter for filtering table results. After upgrading to Fabrik 3.5 the view started throwing the error:
Fatal error: Call to undefined method FabrikFEModelList::getAdvancedSearchOpts() in /<root path>/public_html/dev/components/com_fabrik/views/list/tmpl/default_disclaimer/default_filter.php on line 24

23 $model =& $this->getModel();
24 $model->getAdvancedSearchOpts();
25 $tableid = $model->getId();

When I comment out line 24 then the view appears and looks good, but the for the filter Javascript no longer works. It doesn't throw an error, but nothing happens when I change the comparison type. Unfortunately this is behind a user login which I can provide on request.

Thanks,
James
 
You are running a custom template and from Fabrik3.1 to 3.5 it's a big gap.
Pretty sure the structure of the Fabrik list templates has changed.

Did you start your custom template from Fabrik's bootstrap or from div?
Compare all the files in your template with the recent Fabrik ones (resp. redo you custom template by starting with a new copy of bootstrap or div)

Just checked: yes, there's no longer a default_filter.php at all, this has moved into the layouts.

BTW:
php 5.3 is outdated, better use 5.6
latest Joomla is 3.6.2
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top