Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/charitylearning.org/PHPClearLessons/classes/clearlessons/playlist.php on line 358
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND (v.privacy = 2
OR v.uplo' at line 2 in /var/www/charitylearning.org/PHPClearLessons/classes/core/db.php:99
Stack trace:
#0 /var/www/charitylearning.org/PHPClearLessons/classes/core/db.php(99): PDO->prepare()
#1 /var/www/charitylearning.org/PHPClearLessons/classes/core/db.php(188): core\db->run_get_all_query()
#2 /var/www/charitylearning.org/PHPClearLessons/classes/clearlessons/playlist.php(465): core\db->get_records_sql()
#3 /var/www/charitylearning.org/PHPClearLessons/classes/clearlessons/playlist.php(431): clearlessons\playlist::get_videos_static()
#4 /var/www/charitylearning.org/PHPClearLessons/classes/clearlessons/playlist.php(537): clearlessons\playlist->get_videos()
#5 /var/www/charitylearning.org/PHPClearLessons/viewplaylist.php(130): clearlessons\playlist->get_collection_container()
#6 {main}
thrown in /var/www/charitylearning.org/PHPClearLessons/classes/core/db.php on line 99