Hey I’m getting this error on the events posts and the calendar page:
Fatal error: Call to a member function get_var() on a non-object in D:\Hosting\4529152\html\bryant\wp-content\themes\classifiedtheme\footer.php on line 8
here’s lines 7 and 8:
$numposts = $wpdb->get_var(“SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = ‘publish'”);
- The topic ‘[Plugin: The Events Calendar] Call to a member function get_var() on a non-object’ is closed to new replies.