Fixed n_array() expects parameter 2 to be array, null given in Abstract.php

alfa1

Well-Known Member
When editing a category I get a large number of these:

Template Errors: Team_category_edit

  1. in_array() expects parameter 2 to be array, null given in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 439:
    438: $__compilerVar29 .= '<select name="node_ids[]" class="textCtrl" multiple="multiple" size="8">
    439: <option value="0" ' . ((in_array(0, $selNodeIds)) ? ' selected="selected"' : '') . '>(' . 'None' . ')</option>
    440: ';
  2. in_array() expects parameter 2 to be array, null given in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 444:
    443: $__compilerVar29 .= '
    444: <option value="' . htmlspecialchars($node['node_id'], ENT_QUOTES, 'UTF-8') . '" ' . ((in_array($node['node_id'], $selNodeIds)) ? ' selected="selected"' : '') . ' ' . (($node['node_type_id'] != ('Forum')) ? ('disabled="disabled"') : ('')) . '>' . XenForo_Template_Helper_Core::string('repeat', array(
    445: '0' => '&nbsp; ',
 
Back
Top