• Please edit line 36 and line 50 in ContactForm7Helper.class.php
    and replace ‘wp_’ with ‘”. $wpdb->prefix . “‘

    $querystr = “SELECT count(*) AS count FROM “. $wpdb->prefix . “posts WHERE post_type = ‘wpcf7_contact_form'”;

    $querystr = “SELECT ID, post_title FROM “. $wpdb->prefix . “posts WHERE post_type = ‘wpcf7_contact_form'”;

    http://ww.wp.xz.cn/plugins/postaffiliatepro/

The topic ‘DB-Prefix in ContactForm7Helper.class.php’ is closed to new replies.