The lines of code that gives me errors are:
while (!feof($handle)) { $conteudo .= fread($handle, 1024); }
The error is:
[14-Jul-2016 16:39:42 UTC] PHP Waing: feof() expects parameter 1 to be resource, boolean given in /home/brazpayc/public_html/wp-content/themes/brazpay/page-42.php on line 118
[14-Jul-2016 16:39:42 UTC] PHP Waing: fread() expects parameter 1 to be resource, boolean given in /home/brazpayc/public_html/wp-content/themes/brazpay/page-42.php on line 119
I don't know if this is enough info, I hope someone could help me.