Hello all,
i’ve installed the wordpress plugin event calendar/schedule.
When i try to use it, this error message is displayed: WordPress database error: [Table ‘dancecenter.wp_blogs’ doesn’t exist]
Thank you for your help,
Hello all,
i’ve installed the wordpress plugin event calendar/schedule.
When i try to use it, this error message is displayed: WordPress database error: [Table ‘dancecenter.wp_blogs’ doesn’t exist]
Thank you for your help,
Hi,
please, modify file wordpress/wp-content/plugins/event-calendar-scheduler/scheduler.php like here (one line was added):
...
$scheduler_prefix_dump = false;
$scheduler_lang = array();
$scheduler_lang['Scheduler'] = 'Scheduler';
error_reporting(E_ALL & ~E_NOTICE);
if (isset($wpdb->base_prefix)) {
$query = "SELECT * FROM ".$wpdb->base_prefix."blogs LIMIT 1";
thank you for your quick answer.
Actually, the problem would be solved if i deactivate the display of notice message ?
Unfortunatly, it doesn’t work cause - i think - i use a dedicated server
Hi this decision doesn’t work for you try to update scheduler.php file from attachment.
Yes, you have to desactivate warnings output.
scheduler.zip (4.57 KB)
thank you but it doesn’t work
i’ve seen the @ before the fonction but i still have that error message:
WordPress database error: [Table ‘dancecenter.wp_blogs’ doesn’t exist]
SELECT * FROM wp_blogs LIMIT 1
Hi,
try to update scheduler.php one more time.
Now it uses a little another construction to check table existing:
...
if($wpdb->get_var("SHOW TABLES LIKE '{$wpdb->base_prefix}blogs'") != $wpdb->base_prefix.'blogs') {
...
scheduler.zip (4.57 KB)