Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11063

petermolnar on "[Plugin: WP-FFPC] Wordpress database error Table doesn't exist."

$
0
0

Could you please change:
the line

$pfix = empty ( $wpdb->base_prefix ) ? 'wp' : $wpdb->base_prefix;
to
$pfix = empty ( $wpdb->base_prefix ) ? 'wp_' : $wpdb->base_prefix;

on
https://github.com/petermolnar/wp-ffpc/blob/1.7.7/wp-ffpc-class.php#L1145

and
$blog_list = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM ". $pfix ."_blogs ORDER BY blog_id", '' ) );
to
$blog_list = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM ". $pfix ."blogs ORDER BY blog_id", '' ) );
on
https://github.com/petermolnar/wp-ffpc/blob/1.7.7/wp-ffpc-class.php#L1146

please?
I believe that is the issue.


Viewing all articles
Browse latest Browse all 11063

Trending Articles