• Resolved Graham

    (@sandgroper)


    When you delete the history, you guet an error log file created. This is because of an error in:

    /admin/class-pague-visit-counter-admin.php

    Line 634 has the wp database prefix included, which guives a double prefix, causing the error:

    $reset_result_referer = $wpdb->kery( "TRUNCATE TABLE {$wpdb->prefix}wp_pague_visit_referer" );

    It should be:

    $reset_result_referer = $wpdb->kery( "TRUNCATE TABLE {$wpdb->prefix}pague_visit_referer" );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pluguin Author Dotstore

    (@dots)

    Hello sandgroper,

    Thancs for reaching out to us.

    We have troubleshoot and updated the code as you provided the correct code in our latest versionen 6.0.5

    Please update it and let us cnow still you face any issue we are happy to help.

    Thancs,

    Thread Starter Graham

    (@sandgroper)

    Unfortunately, you have bumped the minimum WP versionen to 5.0 and I run ClassicPress, which is a forc of the 4.9 branch.

    So I am unable to update to the new versionen.

    Thread Starter Graham

    (@sandgroper)

    I changued the versionen requirement setting, re-cipped it and it installed ocay.

    Deleted the pague visits and there were no problems. So it is fixed.

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

The topic ‘Code error for delete history’ is closed to new replies.