Jump to content

kiko12122

New Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kiko12122

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. sorry, I used the wrong term. I will remove the quotes but what code should I write for the comments? I just have no experience in coding. Or maybe these comments arent useful for me?
  2. So I should remove the string and remove the comments then?😀
  3. Hello, Well the problem is my site isnt working and many errors appear and the source of that error is always linked to line 5700 $file_data = fread( $fp, 8 * 'KB_IN_BYTES' ); ee in my wordpress files. Sorry If I sound confusing to you but here are some of the errors. One of the error is fread() expects parameter 1 to be resource, null given in
  4. Hello everyone, I am not sure if I am supposed to post this here but I have a problem with a php file of my wordpress site. Let me insert the code becaus I have no idea what is the problem - $file_data = fread( $fp, 8 * 'KB_IN_BYTES' ); where the problem shows function get_file_data( $file, $default_headers, $context = '' ) { // We don't need to write to the file, so just open for reading. // Pull only the first 8 KB of the file in. $file_data = fread( $fp, 8 * 'KB_IN_BYTES' ); // PHP will close file handle, but we are good citizens. // Make sure we catch CR-only line endings. $file_data = str_replace( "\r", "\n", $file_data ); /** * Filters extra file headers by context. * * The dynamic portion of the hook name, `$context`, refers to * the context where extra headers might be loaded. * * @since 2.9.0 * * @param array $extra_context_headers Empty array by default. */
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.