LOW SEARCH stopped working
Low Search stopped working after EE upgrade to 2.7. Results page throwing following error and loading site home instead of Results page.
Please help.
..........................
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: template_group
Filename: libraries/Template.php
Line Number: 1915
Replies
Bashir Tahir 9 Sep 2013 08:25
Low Search ver : 2.4.1
ExpressionEngine v2.7.0 - Build Date: 20130827
Low 9 Sep 2013 08:27
This error isn't thrown by Low Search, but by the template parser, so it looks more like a native EE issue.
What does the Template Debugger say?
Bashir Tahir 9 Sep 2013 08:43
Hi,
Much gratitude for this quick response.
There's a whole lot of stuff put at the end of the page. What exactly do you need to know?
Low 9 Sep 2013 08:47
The whole thing would be most useful, actually.
As far as I can see, the error is triggered before the template is even loaded. Looking at the Template.php file (which throws the error), that could be because you have a duplicate template group (should say so in the debugging info), or maybe something else.
Bashir Tahir 9 Sep 2013 08:50
No such thing as duplicate group or file.
Does the following help?
(0.000013 / 11.24MB) - Begin Template Processing -
(0.001236 / 11.24MB) URI: search/dev_results/eyJsb29zZV9lbmRzIjoicmlnaHQiLCJyZXN1bHRfcGFnZSI6InNlYXJjaFwvZGV2X3Jlc3VsdHMiLCJzZWFyY2hfbW9kZSI6ImV4YWN0Iiwia2V5d29yZHMiOiJwc2FsbXMiLCJjb2xsZWN0aW9uIjoibWVlemFufGFzc29jaWF0ZV9hdXRob3JfYXJ0aWNsZXN8YWwtaXNsYW18cmVuYWlzc2FuY2V8dmlkZW98Y2xhc3Nlc3xlZGl0b3JpYWxzIn0
(0.001256 / 11.24MB) Path.php Template: /
(0.001270 / 11.24MB) Retrieving Template
(0.001279 / 11.24MB) Parsing Template URI
(0.002202 / 11.24MB) Duplicate Template Group: search
(0.004953 / 11.31MB) Retrieving Template from Database: /
(0.008190 / 11.32MB) Template Found
(0.008252 / 11.34MB) Determining Template Access Privileges
(0.018994 / 11.39MB) Calling Extension Class/Method: Low_variables_ext/template_fetch_template
(0.023114 / 11.45MB) Calling Extension Class/Method: Low_seg2cat_ext/template_fetch_template
(0.027671 / 11.63MB) Calling Extension Class/Method: Mo_variables_ext/run
(0.046862 / 11.92MB) Calling Extension Class/Method: Stash_ext/template_fetch_template
(0.047131 / 11.91MB) Template Type: 404
(0.047153 / 11.91MB) Parsing Site Variables
Low 9 Sep 2013 08:55
Uhm, it actually does say Duplicate Template Group:
Can you verify this?
Bashir Tahir 9 Sep 2013 08:57
Oooops. My bad. I checked and there was no duplicate and now I see that search groups is duplicate. Not sure how it happened as the everything was fine for quite some time. It happened all of a sudden. Any light what could cause this to happen all of a sudden?
I've removed duplicate group and now all is working fine.
Low 9 Sep 2013 09:00
No idea why it happened. Low Search itself doesn't do anything with creating templates or template groups. Might have been another add-on or a bug in EE's upgrade wizard.
Bashir Tahir 9 Sep 2013 09:52
Thanks for timely help. Please close this thread.