- This topic has 11 replies, 3 voices, and was last updated 6 years, 1 month ago by Tom.
-
AuthorPosts
-
March 3, 2018 at 11:13 am #510733Jeff
All of a sudden my site went away and I am getting the following error:
Warning: include(/home4/jeffmcl1/public_html/fintechfreedom/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home4/jeffmcl1/public_html/fintechfreedom/wp-settings.php on line 84
Warning: include(/home4/jeffmcl1/public_html/fintechfreedom/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home4/jeffmcl1/public_html/fintechfreedom/wp-settings.php on line 84
Warning: include(): Failed opening ‘/home4/jeffmcl1/public_html/fintechfreedom/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php70/root/usr/share/pear’) in /home4/jeffmcl1/public_html/fintechfreedom/wp-settings.php on line 84
Stylesheet is missing.My host (Bluehost) is saying it has to do with the theme and said to contact the theme developer. Not sure if this happened because of a plugin update? Thanks!
March 3, 2018 at 8:38 pm #510938TomLead DeveloperLead DeveloperThe issue is actually being caused by a plugin (WP Advanced Cache).
You can learn more about this here: https://stackoverflow.com/questions/43406007/wordpress-php-warning-failed-to-open-stream-no-such-file-or-directory-advanc
March 4, 2018 at 5:51 am #511147JeffThanks Tom. I have W3 Total Cache plugin. Is that the “WP Advanced Cache” or is this separate? I am guessing this is the one based on the response in the link…
“when any caching plugin gets installed, especially caching plugins from wordpress.org use that. So you will not be able to find that file on fresh WP installation. I assume that you have installed some caching plugin and due to any reason advanced-cache.php file is deleted from a folder or there may be permission issue for executing the file.”Would you recommend a just delete W3 Total Cache if this is in fact what is causing the error or simply set to false… ‘WP_CACHE’, false If you recommend I simply set to false would you mind pointing me where I should go in the backend to do this? Thanks again.
March 4, 2018 at 9:30 am #511379TomLead DeveloperLead DeveloperI think you might need to set WP_CACHE to false. You would do so in the wp-config.php file in the root directory of your site.
This is stuff your hosting should definitely be able to help you with, I think you just had a bad agent before.
March 4, 2018 at 11:37 am #511466JeffThanks, Tom. All set! Just out of curiosity because that obviously made me a bit nervous after all the work that has gone into the site thus far…
For my own knowledge, does Generate Press operate on a Child basis? Once this happened I started reading a bit more and came across the issue of needing child themes on themes like Genesis, Thesis, etc. In other words, I have Generate Press premium but should I be using a child theme? Or, by having (gp-premium-1.5.6.zip) am I set and don’t need to worry? Thanks again!
March 4, 2018 at 8:11 pm #511669TomLead DeveloperLead DeveloperYou can use a child theme, but it’s not required. There’s more info on that here: https://docs.generatepress.com/article/using-child-theme/
Let me know if you need more info π
March 5, 2018 at 6:45 am #511944JeffThanks, Tom! I have added some custom CSS and PHP in the style.css but not much. Based on this…am I still fine not using a child theme as you suggest? Thanks again!
March 5, 2018 at 9:29 am #512169LeoStaffCustomer SupportIf you add code in the theme’s core file, they will be erased through updates.
Best to use child theme or one of the methods here:
https://docs.generatepress.com/article/adding-css/
https://docs.generatepress.com/article/adding-php/March 8, 2018 at 7:40 pm #515229JeffThanks, I’ve been working with the Beaver Builder team on an issue that we seem to be closing in on where it looks like the site went haywire after a move from one host to another.
Since I have had a developer do some customization and this ongoing issue my sense is that I should move to a GP child. In the forum I found: http://generatepress.com/api/themes/generatepress_child.zip is this the child? If so, is there any exporting to the child theme/Customizer Settings that have already been done in the parent theme before I activate this child theme or is it as simple as just activating the child once http://generatepress.com/api/themes/generatepress_child.zip is uploaded? Thanks again!
March 8, 2018 at 8:54 pm #515277TomLead DeveloperLead DeveloperYou should just need to activate it.
You may need to re-upload your site logo and change your copyright, but other than that everything else should come over automatically π
March 9, 2018 at 9:15 am #515741JeffThanks! That worked! And yes, needed to re-upload logo and footer text/copyright but that was all. Thanks again!
March 9, 2018 at 11:18 am #515854TomLead DeveloperLead DeveloperNo problem! π
-
AuthorPosts
- You must be logged in to reply to this topic.