Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /var/www/bookkeeper/data/www/mvc.domain/app/Models/Video/RecommendedVideos.php on line 52

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 MariaDB server version for the right syntax to use near '?) LIMIT 0' at line 5 in /var/www/bookkeeper/data/www/mvc.domain/app/Core/DataBase.php:89 Stack trace: #0 /var/www/bookkeeper/data/www/mvc.domain/app/Core/DataBase.php(89): PDO->query('\r\n\t\t\t\t\tSELECT *...') #1 /var/www/bookkeeper/data/www/mvc.domain/app/Models/Video/RecommendedVideos.php(60): App\Core\DataBase::run('\r\n\t\t\t\t\tSELECT *...', Array) #2 /var/www/bookkeeper/data/www/mvc.domain/app/Http/Controllers/VideoController.php(68): App\Models\Video\RecommendedVideos->getVideos(Array) #3 [internal function]: App\Http\Controllers\VideoController->index('oblil-maselkom-...') #4 /var/www/bookkeeper/data/www/mvc.domain/app/Core/App.php(152): call_user_func_array(Array, Array) #5 /var/www/bookkeeper/data/www/mvc.domain/app/Core/App.php(123): App\Core\App->runController() #6 /var/www/b in /var/www/bookkeeper/data/www/mvc.domain/app/Core/DataBase.php on line 89