Title: Error When Implode() Is Used In Plugin
Last modified: August 18, 2016

---

# Error When Implode() Is Used In Plugin

 *  Resolved [golddave](https://wordpress.org/support/users/golddave/)
 * (@golddave)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/error-when-implode-is-used-in-plugin/)
 * Can anybody tell me what is wrong with the following line:
    $tagData = implode(“,”,
   $wpdb->get_col(“SELECT `meta_value` FROM $wpdb->posts LEFT JOIN $wpdb->postmeta
   ON $wpdb->posts.ID=$wpdb->postmeta.post_id WHERE (`meta_key`=’ttaglist’ OR `meta_key`
   =’technorati’) AND `post_status`=’publish’$where ORDER BY `post_date` DESC$limit”));
 * I get the following error in my sidebar at this line:
    Warning: implode() [function.
   implode]: Bad arguments. in /home/golddave/public_html/palm/wp-content/plugins/
   technoratitagging.php on line 285
 * This error was introduced upon upgrading from WordPress 2.0.5 to 2.0.6.
 * Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [golddave](https://wordpress.org/support/users/golddave/)
 * (@golddave)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/error-when-implode-is-used-in-plugin/#post-502119)
 * Any takers? This is for an old technorati tagging plugin that I prefer over Ultimate
   Tag Warrior because I’m more comfortable with it. (UTW is a great plugin, by 
   the way.) anyway, I’d really like to get it working again so I don’t have to 
   convert all my blogs to a new tagging system. For some reason 2.0.6 throws an
   error on this implode function call where 2.0.5 did not. It doesn’t make any 
   sense to me since implode is a PHP function and not a WordPress function.
 *  Thread Starter [golddave](https://wordpress.org/support/users/golddave/)
 * (@golddave)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/error-when-implode-is-used-in-plugin/#post-502120)
 * I feel like an idiot. I did a little more research and found that there are smartquotes
   used when creating the variable $where that is used in the query. When I replaced
   the smartquotes with standard quotes the query worked!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error When Implode() Is Used In Plugin’ is closed to new replies.

## Tags

 * [implode](https://wordpress.org/support/topic-tag/implode/)

 * 2 replies
 * 1 participant
 * Last reply from: [golddave](https://wordpress.org/support/users/golddave/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/error-when-implode-is-used-in-plugin/#post-502120)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
