I have been using the same postbit template for some time now but as of tonight when I tried to change it I am getting a very wierd error:
The line in question is:
And php_start includes:
This issue didn't appear until I tried to update the template which was working fine and oddly enough, the if statement is still working in the forum?
Code:
The following error occurred when attempting to evaluate this template: [i] [b]Warning[/b]: in_array(): Wrong datatype for second argument in [b]/includes/adminfunctions_template.php(3096) : eval()'d code[/b] on line [b]94[/b] [/i] This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Code:
<if condition="in_array($foruminfo[forumid], $GLOBALS[classified_forumids])">
Code:
$classified_forumids = array(308,214,215,216,226,284,220,217,218,219,227,223,353); $headerstime = time();
Comment