Activating Made WordPress Crash – Fix Inside
-
Upon activation, my site crashed with a fatal error on line 285 in includes/class-codetot-admin-options-page.php because it passed a named parameter
'type'
to theadd_settings_field()
function. This was included in line 270 of the same file, since$this->defaults['add_settings_field']
has an'args'
element.I temporarily fixed this by changing line 270 to read:
$params = array_slice($params, 0, 5); // count($this->defaults['add_settings_field']));
Please be advised.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Activating Made WordPress Crash – Fix Inside’ is closed to new replies.