Fatal error: Uncaught exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /var/www/vhosts/rianorte.es/httpdocs/funciones_inmuebles.php:125 Stack trace: #0 /var/www/vhosts/rianorte.es/httpdocs/funciones_inmuebles.php(125): exception_error_handler(2, 'Invalid argumen...', '/var/www/vhosts...', 125, Array) #1 /var/www/vhosts/rianorte.es/httpdocs/index.php(369): prepararCampos(Object(SimpleXMLElement)) #2 {main} thrown in /var/www/vhosts/rianorte.es/httpdocs/funciones_inmuebles.php on line 125