WordPress.org

Ready to get started?Download WordPress

Forums

WP Slimstat
[resolved] get_the_tags() error (3 posts)

  1. lolalola
    Member
    Posted 1 year ago #

    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 :]

  2. lolalola
    Member
    Posted 1 year ago #

    P.S.
    Plugin version: 2.83
    Wordpress 3.5

  3. camu
    Member
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.