Warning: Trying to access array offset on value of type null in /var/www/clients/client1/web7/web/wp-content/themes/constant/page-empleo-localidades-2.php on line 27

Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in /var/www/clients/client1/web7/web/wp-content/themes/constant/page-empleo-localidades-2.php:34 Stack trace: #0 /var/www/clients/client1/web7/web/wp-content/themes/constant/page-empleo-localidades-2.php(34): mysqli_num_rows() #1 /var/www/clients/client1/web7/web/wp-includes/template-loader.php(106): include('...') #2 /var/www/clients/client1/web7/web/wp-blog-header.php(19): require_once('...') #3 /var/www/clients/client1/web7/web/index.php(17): require('...') #4 {main} thrown in /var/www/clients/client1/web7/web/wp-content/themes/constant/page-empleo-localidades-2.php on line 34