Enabling the Search - Fabrik plugin leads to fatal errors when going to the search interface. The following error is reported:
Fatal error: Call to a member function def() on a non-object in /home/palmersg/public_html/pgcdev2/plugins/system/fabrik/fabrik.php on line 278
Line 278 is as follows:
If I get round that by changing the line to $limit = 50; the fatal error occurs a few lines later
If I change that to $headingPrefix = true; the fatal error then occurs at
If I change that line to $section = 'Fabrik/record'; search will run but not find any Fabrik content.
Any idea what is wrong?
Fatal error: Call to a member function def() on a non-object in /home/palmersg/public_html/pgcdev2/plugins/system/fabrik/fabrik.php on line 278
Line 278 is as follows:
PHP:
// Load plugin params info
$limit = $params->def('search_limit', 50);
If I get round that by changing the line to $limit = 50; the fatal error occurs a few lines later
PHP:
// Set heading prefix
$headingPrefix = $params->get('include_list_title', true);
If I change that to $headingPrefix = true; the fatal error then occurs at
PHP:
$section = $params->get('search_section_heading');
If I change that line to $section = 'Fabrik/record'; search will run but not find any Fabrik content.
Any idea what is wrong?