Undefined offset notice
-
Hi
To solve the notice add the following in customMeta.php (line 61):$options = array(); foreach( $values as $slug => $sub_values ) { $temp = array(); for( $i=0; $i<5; $i++ ) if (isset($sub_values[$i])){ //new $temp[$keys[$i]] = $sub_values[$i]; $options[$slug] = $temp; } //new } return $options; }
The notice is gone in the backend.
regards
theo
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Undefined offset notice’ is closed to new replies.