Enable Smart Search component and create a menu item to it.
Smart search page
Parse error: syntax error, unexpected '[', expecting ')' in components/com_finder/helpers/html/filter.php on line 112
PHP 5.3.29
Can be fixed by change line 112 in components/com_finder/helpers/html/filter.php
From
$html .= JHtml::_('bootstrap.startAccordion', 'accordion', array('parent' => true, 'active' => 'accordion-' . array_keys($branches)[0]));
To
$branch_keys = array_keys($branches);
$html .= JHtml::_('bootstrap.startAccordion', 'accordion', array('parent' => true, 'active' => 'accordion-' . $branch_keys[0]));
Weird -I get it on 5.3.29 but not on 5.4.42 or higher
On 24 March 2016 at 09:40, infograf768 notifications@github.com wrote:
I confirm the error.
@wilsonge https://github.com/wilsonge
I guess this is another blocker—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#9561 (comment)
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Status | New | ⇒ | Confirmed |
I get it on 5.3.14
The proposed change sloves it,
Now testing on 5.4.4
If it works, will propose the PR
It does. Making PR now.
Closed as we have a PR for testing
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-24 09:58:07 |
Closed_By | ⇒ | brianteeman |
I confirm the error.
@wilsonge
I guess this is another blocker