Notice: Undefined index: rating in /var/www/FindvideoMobi/Controllers/Movies.php on line 131

Fatal error: Uncaught TypeError: Argument 1 passed to HalimonAlexander\CRM\HtmlSnipplets\Rating::fetch() must be of the type float, null given, called in /var/www/FindvideoMobi/Controllers/Movies.php on line 131 and defined in /var/www/FindvideoMobi/vendor/halimonalexander/crm/src/HtmlSnipplets/Rating.php:35 Stack trace: #0 /var/www/FindvideoMobi/Controllers/Movies.php(131): HalimonAlexander\CRM\HtmlSnipplets\Rating->fetch(NULL) #1 /var/www/FindvideoMobi/routing.php(190): FindvideoMobi\Controllers\Movies->movie('La_belle_et_la_...') #2 [internal function]: {closure}('La_belle_et_la_...') #3 /var/www/FindvideoMobi/vendor/halimonalexander/routerlite/src/Router.php(165): call_user_func_array(Object(Closure), Array) #4 /var/www/FindvideoMobi/vendor/halimonalexander/routerlite/src/Router.php(144): HalimonAlexander\RouterLite\Router->invoke(Object(Closure), Array) #5 /var/www/FindvideoMobi/vendor/halimonalexander/routerlite/src/Router.php(97): HalimonAlexander\RouterLite\Router->handle(Array, true) #6 /var/www/FindvideoMobi/rou in /var/www/FindvideoMobi/vendor/halimonalexander/crm/src/HtmlSnipplets/Rating.php on line 35