Help with 'Warning: fopen() [function.fopen]'

I recently checked a site I am building and I see that suddenly I have an error occuring on all pages.

Is anyone able to help identify why this might be?

Warning: fopen() [function.fopen]: Filename cannot be empty in /home/mrmr1174/public_html/tulk/wp-includes/functions.php on line 3508

Warning: fread() expects parameter 1 to be resource, boolean given in /home/mrmr1174/public_html/tulk/wp-includes/functions.php on line 3511

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/mrmr1174/public_html/tulk/wp-includes/functions.php on line 3514

Thanks heaps.

I’m assuming you’re calling fopen with a variable as the first parameter rather than a hard coded string, check the variable’s value on the line above fopen. The following errors are because fopen has returned false instead of the resource object, sorting out the first issue should sort out the rest.

Sponsor our Newsletter | Privacy Policy | Terms of Service