Notice: Undefined index: Blog in /var/www/html/2020/includes/blog_details.php on line 34

Fatal error: Uncaught TypeError: Argument 1 passed to get_details() must be of the type int, null given, called in /var/www/html/2020/includes/blog_details.php on line 34 and defined in /var/www/html/2020/includes/blog_details.php:9 Stack trace: #0 /var/www/html/2020/includes/blog_details.php(34): get_details(NULL, 'localhost', 'defaultUser', 'jV5ZoNCud05v', 'INGLISWEB', 'SELECT * FROM b...') #1 /var/www/html/2020/Blog/View.php(3): include('/var/www/html/2...') #2 {main} thrown in /var/www/html/2020/includes/blog_details.php on line 9