Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.
    #1208418

    Hi 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,
    Nikko

    #1208540

    We 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
    #1208952

    Update – 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.

    #1209031

    Hi,

    Thanks for the update, I’m glad that you got the site back up. Which file is replicating itself?

    Best regards,
    Rikard

    #1209664

    Hi 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

    #1209767

    Hi harveytool,

    In Enfold > Performance, can you try to disable Delete old CSS and JS files?.
    Let us know if this helps.

    Best regards,
    Nikko

    #1210355

    I 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?

    #1210572

    Hi 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/z33L5Msm

    Best regards,
    Nikko

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.