php - Warnings and Notice in Web Crawler which slow down the execution -


i designing web crawler in php. these errors, notices , warnings not affect expected output of crawler think slow down crawler considerably. searched these errors usual suggested fix hide them. there way in these notices , warnings avoided?

notice: trying property of non-object in /opt/lampp/htdocs/search-engine/index.php on line 19

warning: domdocument::loadhtml(): input not proper utf-8, indicate encoding ! in entity, line: 41 in /opt/lampp/htdocs/search-engine/index.php on line 16

warning: domdocument::loadhtml(): htmlparseentityref: expecting ';' in entity, line: 41 in /opt/lampp/htdocs/search-engine/index.php on line 16

warning: domdocument::loadhtml(): empty string supplied input in /opt/lampp/htdocs/search-engine/index.php on line 16

here link index.php. couldn't format here.

https://drive.google.com/file/d/0b0xgk62fckcjnndjefoxek5hdzq/view?usp=sharing


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -