WordPress.org

Support

Support » Plugins and Hacks » [Resolved] get_the_tags() error

[Resolved] get_the_tags() error

  • Hi,
    When I clicked on a tag, i get this error message:

    Warning: array_pop() expects parameter 1 to be array, boolean given in /public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 223

    http://wordpress.org/extend/plugins/wp-slimstat/

    My soliution:

    $get_the_tags = get_the_tags();
    
    if(is_array($get_the_tags))
    	$tag_info = array_pop($get_the_tags);

    Just don’t like always edit code after update :]

Viewing 2 replies - 1 through 2 (of 2 total)
  • P.S.
    Plugin version: 2.83
    Wordpress 3.5

    Plugin Author Jason Crouse

    @coolmann

    Yes, this has been fixed in version 2.8.7, which will be released soon 🙂 Thank you for pointing this out.

    PS: a vote for my plugin would be a nice way to say thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] get_the_tags() error’ is closed to new replies.