Title: [Plugin: Recently Popular] Error
Last modified: August 19, 2016

---

# [Plugin: Recently Popular] Error

 *  [Tad Chef](https://wordpress.org/support/users/onreactcom/)
 * (@onreactcom)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-recently-popular-error/)
 * Installing and adding widget results in an error on WP 2.8.4. Had to deactivate
   it.
 * [http://wordpress.org/extend/plugins/recently-popular/](http://wordpress.org/extend/plugins/recently-popular/)

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244262)
 * well…what was the error?
 *  [ebiven](https://wordpress.org/support/users/ebiven/)
 * (@ebiven)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244713)
 * As the author I’d like to know, too. There have only been a couple of instances
   where we couldn’t get it to work, and only a handful where it didn’t work right
   out of the box.
 * I’ve used it successfully in every release of 2.8.
 *  [seancarmody](https://wordpress.org/support/users/seancarmody/)
 * (@seancarmody)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244727)
 * I have just noticed my error log is full of errors like this:
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘)’
   at line 1 for query INSERT INTO wp_recently_popular(`user_type`, `post_id`) VALUES(
   1, ); made by require, require_once, include, thesis_html_framework, get_header,
   locate_template, load_template, require_once, wp_head, do_action, call_user_func_array,
   recently_popular_record_hit
 * Any thoughts?
 *  [seancarmody](https://wordpress.org/support/users/seancarmody/)
 * (@seancarmody)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244729)
 * Disabling the plugin for now…too much noise in the log file!
 *  [sub_francis](https://wordpress.org/support/users/sub_francis/)
 * (@sub_francis)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244748)
 * from FTP edit /wp-content/plugins/recently-popular/recently-popular.php
 * find this function: function recently_popular_record_hit()
 * //ERROR//$wpdb->query(“INSERT INTO $table(`user_type`, `post_id`) VALUES **($
   user_type, $post->ID);”);**
 * It should be:
 * $wpdb->query(“INSERT INTO $table(`user_type`, `post_id`) VALUES ($user_type, 
   $post->ID)”);
 *  [sub_francis](https://wordpress.org/support/users/sub_francis/)
 * (@sub_francis)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244749)
 * ooops! still errors… 😛 but no doubt it need to be fixed from that line.

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

The topic ‘[Plugin: Recently Popular] Error’ is closed to new replies.

 * 6 replies
 * 5 participants
 * Last reply from: [sub_francis](https://wordpress.org/support/users/sub_francis/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-recently-popular-error/#post-1244749)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
