[Plugin: Custom Field Matrix] doesn't work
-
When i try to create a new matrix i get this:
plugin_dir.’/css/cf_matrix_edit.css” />’; // get matrixes if(get_post_meta($post->ID, ‘cf_matrix_type’, true) != ”) { $rows = array( ‘type’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_type’, true)), ‘label’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_label’, true)), ‘name’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_name’, true)), ); } else { $rows = array( ‘type’ => array(‘image’,’text’,’textarea’), ‘label’ => array(‘Image’,’Alt Text’,’Caption’), ‘name’ => array(‘image_url’,’image_alt’,’image_caption’), ); } // setup names for rows $row_labels = array( ‘type’ => ‘Cell Type’, ‘label’ => ‘Cell Label’, ‘name’ => ‘Col Name’, ); ?>
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 55
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 65
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 73
- The topic ‘[Plugin: Custom Field Matrix] doesn't work’ is closed to new replies.