Kwash Posted June 29, 2016 Share Posted June 29, 2016 Hi Guys, We are getting a error which is really bugging us in regards to our search, this is the message which is popping up. Notice: Undefined property: Possearchcategories::$_html in /home/ngahcom/public_html/modules/possearchcategories/possearchcategories.php on line 237Parse error: syntax error, unexpected '{', expecting function (T_FUNCTION) in /home/ngahcom/public_html/override/classes/Search.php on line 166 How do we fix, regards Link to comment Share on other sites More sharing options...
rocky Posted June 30, 2016 Share Posted June 30, 2016 It's hard to help, since we don't have access to that module. It would seem the module is trying to read $_html, which doesn't exist, and it's override has a { when function was expected. I suggest that you contact the theme developer. If they're not responding, post override/classes/Search.php here. Link to comment Share on other sites More sharing options...
shokinro Posted June 30, 2016 Share Posted June 30, 2016 (edited) Notice: Undefined property: Possearchcategories::$_html in /home/ngahcom/public_html/modules/possearchcategories/possearchcategories.php on line 237 I guess the module does not include the definition of $_html Try to add following line in file possearchcategories.php protected $_html; Add above line after following lines class possearchcategories extends Module { It will become class possearchcategories extends Module { protected $_html; Edited June 30, 2016 by shokinro (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now