Support » Plugin: Latest Custom Post Type Updates » Please add this fix in your file

  • in options.php
    Just above ” foreach($instance[‘taxonomies’] as $taxonomy) {“
    add
    ——————
    if (!isset($instance[‘taxonomies’])) {

    }
    ——————

    in index.php
    Just above “foreach($new_instance[‘tag_list’] as $tax=>$items) {“
    add
    —————-
    if (is_array($new_instance[‘tag_list’])) {

    }

    Because i get this error :
    PHP Warning: Invalid argument supplied for foreach() in options.php on line 353 and index.php on line 72

    http://wordpress.org/extend/plugins/latest-custom-post-type-updates/

Viewing 1 replies (of 1 total)
  • Plugin Contributor David Wood

    (@technical_mastermind)

    Sorry you are encountering this issue, I plan on having a bug-fix release out soon and this will definitely be included. Thank you for pointing it out!

Viewing 1 replies (of 1 total)
  • The topic ‘Please add this fix in your file’ is closed to new replies.