Syntax Error

January 2013 WordPress Theme
GK User
Sun Jan 20, 2013 6:28 am
I tried to add adds to the top1 and later top2 areas using category slugs, and I get this error:

Code: Select all
Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/---/public_html/---/wp-content/themes/News/gavern/helpers/helpers.layout.php(657) : runtime-created function on line 1

Fatal error: Function name must be a string in /home/---/public_html/---/wp-content/themes/News/gavern/helpers/helpers.layout.php on line 659
User avatar
Senior Boarder

GK User
Sun Jan 20, 2013 10:18 am
Hi,

Could you provide me an example of the used category slugs? In general please provide me your settings which leads to this problem - then I'll be able to test it and analyze what is reason of this problem.
User avatar
Administrator

GK User
Sun Jan 20, 2013 8:15 pm
I found the issue. I was trying to put in multiple categories at the same time, when I needed to do it one by one.
User avatar
Senior Boarder

GK User
Sun Jan 20, 2013 8:18 pm
OK, but it is a signal that we need to add additional check in this case :) Thank you for your feedback :)
User avatar
Administrator

GK User
Sun Jan 20, 2013 10:13 pm
Anytime. I also have another question/issue. Should I create a new thread?
User avatar
Senior Boarder

GK User
Sun Jan 20, 2013 10:17 pm
I recommend to create a new thread, because it is a better solution for people looking for specific problem solutions ;)
User avatar
Administrator


cron