Wrong table prefix on multisite sub-sites
-
I found this issue when I was looking at subscriber lists for a sub-site of a multisite installation. The “Status” dropdown was empty.
It turns out that the plugin was trying to look at the “wp_2_sendpress_subscribers_status” table to populate the dropdown, and that table doesn’t exist. All the SendPress tables seem to be for the entire multisite installation, there aren’t any “wp_2_sendpress…” tables.
I think that line 71 of /classes/class-sendpress-db-tables.php should use “$wpdb->base_prefix” rather than “$wpdb->prefix.” When I made that change, my dropdown menu was populated correctly.
I haven’t verified, but this change probably needs to be made for all the lines which use “$wpdb->prefix” in that file.
The topic ‘Wrong table prefix on multisite sub-sites’ is closed to new replies.