• Resolved allycol

    (@allycol)


    After installation I just see the below errors in the Matrix Columns area. Looks like a good plugin from your video, just wish I could use it. I’m only a novice at wordpress though so maybe something to do with my configuration?

    plugin_dir.’/css/cf_matrix_edit.css” />’; // get matrixes if(get_post_meta($post->ID, ‘cf_matrix_col’, true) != ”) { $cols = array(); foreach(get_post_meta($post->ID, ‘cf_matrix_col’, false) as $col) { $col_values = unserialize($col); foreach($col_values as $key => $value) { $col_values[$key] = stripslashes($value); } $cols[] = $col_values; } } else { $cols = array( array(‘id’=>1, ‘label’=>’Alt Text’,’name’=>’alt’,’type’=>’text’,’options’=>array()), array(‘id’=>0, ‘label’=>’Image’,’name’=>’url’,’type’=>’image’,’options’=>array()), array(‘id’=>2, ‘label’=>’Caption’,’name’=>’caption’,’type’=>’textarea’,’options’=>array()), ); } // sorts cols by id $cols = $this->msort($cols); ?>

    Warning: Invalid argument supplied for foreach() in C:\Program Files\wamp\www\wordpress\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 53

    Warning: Invalid argument supplied for foreach() in C:\Program Files\wamp\www\wordpress\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 65

    Warning: Invalid argument supplied for foreach() in C:\Program Files\wamp\www\wordpress\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 77

    Warning: Invalid argument supplied for foreach() in C:\Program Files\wamp\www\wordpress\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 90
    Col Label
    Col Name
    Cell Type
    Delete Col

Viewing 1 replies (of 1 total)
  • Plugin Author Elliot Condon

    (@elliotcondon)

    Hey mate.

    I just figured it out. I had a short php tag which is why you were getting the error on your xamp setup.

    Please delete the current plugin, and re download it.
    Thanks for the feedback though. I hope it works now.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Field Matrix] Broken for me’ is closed to new replies.