-
AuthorPosts
-
April 29, 2020 at 11:32 pm #1208375
Hello,
We recently noticed that our site was being deprecated and elements were missing from pages. This slowly turned into an issue where the site showed a fatal error and eventually stopped working altogether. The function-set-avia-backend.php is empty and has no information inside of it
This was the first error we were seeing, which was displaying at the top of our content pages:
Warning: fread(): Length parameter must be greater than 0 in /home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 1052
This continued to deprecate. Now the current error states the below, and we cannot access the WP Admin at all to check on theme/WP settings or updates.
Warning: include(/home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold-child/functions.php): failed to open stream: Permission denied in /home/customer/www/harveyperformance.com/public_html/wp-settings.php on line 514
Warning: include(): Failed opening ‘/home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold-child/functions.php’ for inclusion (include_path=’.:/usr/local/php73/pear’) in /home/customer/www/harveyperformance.com/public_html/wp-settings.php on line 514
Warning: require(/home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php): failed to open stream: Permission denied in /home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold/framework/avia_framework.php on line 64
Fatal error: require(): Failed opening required ‘/home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php’ (include_path=’.:/usr/local/php73/pear’) in /home/customer/www/harveyperformance.com/public_html/wp-content/themes/enfold/framework/avia_framework.php on line 64
- This topic was modified 4 years, 6 months ago by harveytool.
April 30, 2020 at 1:20 am #1208418Hi harveytool,
Can you try to update Enfold manually via FTP? https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
If that still does not work, please give us FTP access? so we can check further.
Just post the credentials in private content.Best regards,
NikkoApril 30, 2020 at 4:35 pm #1208540We think that this may be a storage issue on the site. We found one folder in the directory which is taking up a ton of space called content/uploads/dynamic_avia exist
Can we delete the contents of that folder?
We have not had any success so far and the site is still down. I have added FTP credentials to the private content so that you can access it and help diagnose the issues.
- This reply was modified 4 years, 6 months ago by harveytool. Reason: Updated FTP credentials
May 1, 2020 at 9:13 pm #1208952Update – the site is back but we are having an odd issue with a file replicating itself over and over again. Could you please have someone in support check the filepath above from our FTP and help us diagnose why it is doing so? It is causing us to reach our website storage limit and requiring the host to shut down support until we delete those files.
May 2, 2020 at 4:23 am #1209031Hi,
Thanks for the update, I’m glad that you got the site back up. Which file is replicating itself?
Best regards,
RikardMay 4, 2020 at 7:12 pm #1209664Hi Rikard,
It seems that there is some javascript that renders our website footer which is replicating itself every 30 minutes. It is in the folder wp-content/uploads/dynamic_avia
May 5, 2020 at 12:56 am #1209767Hi harveytool,
In Enfold > Performance, can you try to disable Delete old CSS and JS files?.
Let us know if this helps.Best regards,
NikkoMay 6, 2020 at 2:56 pm #1210355I will try this and see if it helps. We are using a caching plugin however, so I am not sure that this will have an impact.
Was anyone able to get into the FTP and look at that folder to see what was happening?
May 7, 2020 at 12:51 am #1210572Hi harveytool,
Yes, I have checked in FTP and I could see lots of generated styles and scripts.
I have added the solution Mike posted on this thread: https://kriesi.at/support/topic/dynamic_avia-making-way-too-many-calls/#post-1183708 in your child theme’s functions.php file.
Try to re-save everything in Enfold Theme Options then you can remove other scripts and styles except those 2 files shown by Mike: https://postlmg.cc/z33L5MsmBest regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.