Hello, I have a wallpaper site that uses a customised theme with functionality to use the bing api for displayed and searched wallpapers. Up until recently, the site was working fine. I am currently getting the following errors. On sample post pages: Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=Penelope%20Cruz%20HD%20wallpapers&count=7&format=xml:13: parser error : Entity 'nbsp' not defined in wp-content/themes/gambar/bingfeed.php on line 67 Warning: simplexml_load_file() [function.simplexml-load-file]: "id_s">Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in wp-content/themes/gambar/bingfeed.php on line 67 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/bingfeed.php on line 67 Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=Penelope%20Cruz%20HD%20wallpapers&count=7&format=xml:13: parser error : Entity 'nbsp' not defined in wp-content/themes/gambar/bingfeed.php on line 67 Warning: simplexml_load_file() [function.simplexml-load-file]: >Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in wp-content/themes/gambar/bingfeed.php on line 67 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/bingfeed.php on line 67 Warning: Invalid argument supplied for foreach() in wp-content/themes/gambar/bingfeed.php on line 68 On search pages (which are usually generated by the site) Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=yo&format=xml:13: parser error : Entity 'nbsp' not defined inwp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: "id_s">Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in wp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=yo&format=xml:13: parser error : Entity 'nbsp' not defined in wp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: >Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in wp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/agcimage.php on line 5 Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=yo&count=7&format=xml:13: parser error : Entity 'nbsp' not defined in /wp-content/themes/gambar/bingfeed.php on line 94 Warning: simplexml_load_file() [function.simplexml-load-file]: "id_s">Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in /wp-content/themes/gambar/bingfeed.php on line 94 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/bingfeed.php on line 94 Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.bing.com/images/search?q=yo&count=7&format=xml:13: parser error : Entity 'nbsp' not defined in wp-content/themes/gambar/bingfeed.php on line 94 Warning: simplexml_load_file() [function.simplexml-load-file]: >Sign in</span><span id="id_a" class="img_downarrow sw_ddb sw_ddgy"> in /wp-content/themes/gambar/bingfeed.php on line 94 Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in wp-content/themes/gambar/bingfeed.php on line 94 Warning: Invalid argument supplied for foreach() in wp-content/themes/gambar/bingfeed.php on line 95 Code (markup): Please provide an overview of your expertise, similar works/repairs. If you know the exact cause of this problem and the repair and I confident in your capabilitites I will give you access to the site with ftp login to make the necessary repairs. Please provide the most likely cause for the issue when applying for the task. Payment of $50 will be made via paypal upon successful repair of the website. Thank you
It seem your site fetching bing images by consuming their data in xml format and then process it using 'simple xml parser'. The function handler can not process the data. It can be caused by failure on fetching some datas. I feel json data is easier to be processed than xml.