Tagged: Layer Slider
-
AuthorPosts
-
May 11, 2017 at 7:08 pm #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
May 11, 2017 at 7:09 pm #791838link to site below
May 11, 2017 at 9:00 pm #791904May 11, 2017 at 9:19 pm #791919Hey,
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
May 11, 2017 at 9:24 pm #791922the 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
May 11, 2017 at 9:38 pm #791930THP 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.
May 11, 2017 at 9:44 pm #791934Hey 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.
May 11, 2017 at 9:47 pm #791937Because 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’;May 11, 2017 at 9:48 pm #791939May 11, 2017 at 9:49 pm #791940So Kriesi gang – will there be a patch for this coming soon? Seems a few of us are finding the same/similar things.
May 12, 2017 at 1:00 pm #792259Hi 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,
VictoriaMay 12, 2017 at 3:05 pm #792338Hi 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.
May 14, 2017 at 11:04 am #792884Hi 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,
VictoriaJuly 9, 2021 at 12:54 am #1309304close please :)
-
AuthorPosts
- The topic ‘Enfold errors being thrown’ is closed to new replies.