add hook in search page
delete error_reporting