Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #791837

    Hey guys,

    With WP_DEBUG turned on, in my backend screens I am often getting these errors appearing (mostly on the update screens)

    Warning: fopen(/home3/thpstock/public_html/microstockman.com/wp-content/plugins/home3/thpstock/public_html/microstockman.com/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php): failed to open stream: No such file or directory in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4784

    Warning: fread() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4787

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4790

    Warning: fopen(/home3/thpstock/public_html/microstockman.com/wp-content/plugins/home3/thpstock/public_html/microstockman.com/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php): failed to open stream: No such file or directory in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4784

    Warning: fread() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4787

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4790

    Warning: fopen(/home3/thpstock/public_html/microstockman.com/wp-content/plugins/home3/thpstock/public_html/microstockman.com/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php): failed to open stream: No such file or directory in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4784

    Warning: fread() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4787

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4790

    Warning: fopen(/home3/thpstock/public_html/microstockman.com/wp-content/plugins/home3/thpstock/public_html/microstockman.com/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php): failed to open stream: No such file or directory in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4784

    Warning: fread() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4787

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home3/thpstock/public_html/microstockman.com/wp-includes/functions.php on line 4790

    Any thoughts?

    Thanks

    #791838

    link to site below

    #791904

    Hi,

    Ensure that your Enfold and WooCommerce are in the latest version.

    Best regards,
    John Torvik

    #791919

    Hey,

    Enfold is latest, but woocommerce is still 2.5 due to compatibility with another plugin.

    Isn’t enfold stil compatible with 2.5 tho?

    Thanks

    #791922

    the functions referred to in that functions file are:

    function get_file_data( $file, $default_headers, $context = '' ) {
    	// We don't need to write to the file, so just open for reading.
    	$fp = fopen( $file, 'r' );
    
    	// Pull only the first 8kiB of the file in.
    	$file_data = fread( $fp, 8192 );
    
    	// PHP will close file handle, but we are good citizens.
    	fclose( $fp );

    if that helps

    #791930

    THP which file are you talking about? looks like those are the same type of error messages I am getting and we have been trying to figure it out here.

    #791934

    Hey yeah it looks like the same issue.

    The file it seems to be referring to is found in here: public_html/YOURSITENAME/wp-includes/functions.php

    then the error message should tell you what line number.

    Those lines are what I pasted above

    • This reply was modified 7 years, 6 months ago by THP Studio.
    #791937

    Because the issue we noticed is in config.php in layer slider folder. But when you fix it to pull in the “uri()” everything dis appears

    $layerslider = get_template_directory() . ‘/config-layerslider/LayerSlider/layerslider.php’;
    and replaced it with:
    $layerslider = get_template_directory_uri() . ‘/config-layerslider/LayerSlider/layerslider.php’;

    #791939
    #791940

    So Kriesi gang – will there be a patch for this coming soon? Seems a few of us are finding the same/similar things.

    #792259

    Hi THP,

    The update is in progress, meanwhile you can try the solution in the thread suggested by @SAdesignsUnltd

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #792338

    Hi Victoria, that fix didn’t work it caused the layer slider to disappear from the menu in dashboard and images not to appear. It did get rid of the error messages. Nikko, said it’s causing another issue but I don’t think he was able to figure it out. Maybe you can take a look? His answer is on the bottom of the page.

    #792884

    Hi SAdesignsUnltd,

    Well, issues has been reported to Kriesi as Nikko says, I think we need to wait for the update.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1309304

    close please :)

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Enfold errors being thrown’ is closed to new replies.