Title: _wp_session SQL errors in wp_options
Last modified: August 30, 2016

---

# _wp_session SQL errors in wp_options

 *  [KovaZg](https://wordpress.org/support/users/kovazg/)
 * (@kovazg)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/_wp_session-sql-errors-in-wp_options/)
 * Hello,
    I have wordpress website that is long time up and has many visits. Issue
   started not so long ago, when wp_options started to fill in with _wp_session_%
   and wp session expire in wp_options table.
 * error_log is rising pretty fast and database filled with 180.000 session entries.
 * I’m not sure with what is this issue related, I tried plugin by plugin to disable
   it.
 * Can you try to help me out, any solution to this, how to find out?
 * Error log og says:
    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 ‘_trackPageview’])’,’
   _wp_session_9a24fadbd1f4dde01afh([‘_trackPageview’])’,’_wp_s’ at line 1 for request
   DELETE FROM wp_options WHERE option_name IN and after huge session list … do_action_ref_array,
   call_user_func_array, wp_session_cleanup
 * I tried google for trackPageview, but not sure what is that?
    Thank you very 
   much

The topic ‘_wp_session SQL errors in wp_options’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [KovaZg](https://wordpress.org/support/users/kovazg/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/_wp_session-sql-errors-in-wp_options/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
