Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, null given in /home/al14kt7osirajgon/public_html/subCategory.php:21 Stack trace: #0 /home/al14kt7osirajgon/public_html/subCategory.php(21): mysqli_num_rows() #1 {main} thrown in /home/al14kt7osirajgon/public_html/subCategory.php on line 21