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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_the_tags() error’ is closed to new replies.