Warning: Creating default object from empty value in /www/htdocs/w00776fe/2015/wp-content/plugins/miwovideos/site/models/video.php on line 29

Fatal error: Uncaught exception 'MDatabaseException' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=SELECT COUNT(channel_id) AS channel_videos_count FROM wp_miwovideos_videos WHERE channel_id =' in /www/htdocs/w00776fe/2015/wp-content/miwi/framework/database/database/mysql.php:300 Stack trace: #0 /www/htdocs/w00776fe/2015/wp-content/miwi/framework/database/database.php(541): MDatabaseMySQL->execute() #1 /www/htdocs/w00776fe/2015/wp-content/plugins/miwovideos/site/models/video.php(34): MDatabase->loadResult() #2 /www/htdocs/w00776fe/2015/wp-content/miwi/framework/application/component/view.php(124): MiwovideosModelVideo->getData() #3 /www/htdocs/w00776fe/2015/wp-content/plugins/miwovideos/site/views/video/view.html.php(22): MView->get('Data') #4 /www/htdocs/w00776fe/2015/wp-content/plugins/miwovideos/site/controllers/video.php(38): MiwovideosViewVideo->display() #5 /www/htdocs/w00776fe/2015/wp-content/miwi/ in /www/htdocs/w00776fe/2015/wp-content/miwi/framework/database/database/mysql.php on line 300