Code error for delete history
-
When you delete the history, you get an error log file created. This is because of an error in:
/admin/class-page-visit-counter-admin.php
Line 634 has the wp database prefix included, which gives a double prefix, causing the error:
$reset_result_referer = $wpdb->query( "TRUNCATE TABLE {$wpdb->prefix}wp_page_visit_referer" );
It should be:
$reset_result_referer = $wpdb->query( "TRUNCATE TABLE {$wpdb->prefix}page_visit_referer" );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Code error for delete history’ is closed to new replies.