WordPress.org

Forums

Warning: Invalid argument supplied for foreach() error (2 posts)

  1. gbaka
    Member
    Posted 4 years ago #

    i keep geting a error on this code

    <?php
    if ($all_the_tags);
    $all_the_tags = get_the_tags();
    foreach($all_the_tags as $this_tag) {
    	if (empty($this_tag->name )&&($this_tag->name !="OVA")) {
    ?>

    but when i tried it on a nearly identical blog and it worked anyone have a clue what the issue maybe?

  2. gbaka
    Member
    Posted 4 years ago #

    anyone have a clue? andf i just realized this might be the wrong thread...

Topic Closed

This topic has been closed to new replies.

About this Topic