Replies: 0
Query Monitor is showing me database errors because the key is the same when you look up the same thing over and over again. Why not use update_option() instead of putting the counter in its own table?
INSERT INTO 'wp_searchmeter' ('terms','date','count','last_hits')
VALUES ('tacos', UTC_DATE(), 1, 6)
apply_filters_ref_array('the_posts');
Duplicate entry 'tacos-2018-05-01' for key 'PRIMARY'
- This topic was modified 25 minutes ago by cim.