Closed teledirigido closed 10 years ago
I've got a warning on here on debug = true mode: if (!in_array("editor", $option['supports'])) {
debug = true
if (!in_array("editor", $option['supports'])) {
Notice: Undefined index: supports in /site/wp-content/plugins/magic-fields-2/mf_register.php on line 40
Warning: in_array() expects parameter 2 to be array, null given in /site/wp-content/plugins/magic-fields-2/mf_register.php on line 40
Maybe adding this will fix it? if ( !isset($options['supports']) || !in_array("editor", $option['supports']) ) {
if ( !isset($options['supports']) || !in_array("editor", $option['supports']) ) {
Cheers.
Just noting that this isn't an isolated issue. I'm seeing this warning as well.
I get that warning too!
@teledirigido did that fix it?
I've got a warning on here on
debug = true
mode:if (!in_array("editor", $option['supports'])) {
Notice: Undefined index: supports in /site/wp-content/plugins/magic-fields-2/mf_register.php on line 40
Warning: in_array() expects parameter 2 to be array, null given in /site/wp-content/plugins/magic-fields-2/mf_register.php on line 40
Maybe adding this will fix it?
if ( !isset($options['supports']) || !in_array("editor", $option['supports']) ) {
Cheers.