Warning: Trying to access array offset on value of type bool in /home/penz/www/produto-item.php on line 12

Fatal error: Uncaught TypeError: mysql_fetch_array(): Argument #1 ($result) must be of type resource, bool given in /home/penz/www/produto-item.php:14 Stack trace: #0 /home/penz/www/produto-item.php(14): mysql_fetch_array(false) #1 {main} thrown in /home/penz/www/produto-item.php on line 14