-
AuthorPosts
-
March 4, 2020 at 3:23 pm #1190098
I am running a site with enfold 4.7.3
The theme is generating enormous php logfiles that eats up my accounts space and ends chrashing everything because I am over limit due to multi gigabyte logfiles.
Below is an excerpt from the logfile.
Do you have any idea how to stop this?From: /public_html/php_errorlog
[04-Mar-2020 02:20:29 UTC] WordPress-databasefejl The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size. for forespørgslen UPDATEwp_options
SEToption_value
= ‘a:10188:{s:66:\”avia-head-scripts-97639d5c4a28847dbc8b7a5b3c67b221—5e53d9ff2413c\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-97639d5c4a28847dbc8b7a5b3c67b221—5e53da0b855f1\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-97639d5c4a28847dbc8b7a5b3c67b221—5e53da10823be\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-97639d5c4a28847dbc8b7a5b3c67b221—5e53da11c74e9\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-97639d5c4a28847dbc8b7a5b3c67b221—5e53da1373538\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scriptsMarch 5, 2020 at 6:58 am #1190307Hey rolfjackson,
Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also please include FTP login details in case we should need it.
Best regards,
RikardMarch 12, 2020 at 8:12 pm #1192738We had a similar issue running the newest enfold theme. We also saw very big php error log files with the same error. We fixed it by disabling a caching plugin. The problem went away. I hope this helps anyone searching in the future since it took me a day of searching to figure it out.
avia-head-scripts errors, innodb_log_file_size, php error log full
March 17, 2020 at 9:01 pm #1193900Having the same issue. Hosting company email about this problem. Here is what the email said:
“We’ve detected an issue on one of your websites that requires urgent attention. It looks like the site’s theme (Enfold) is causing quite a bit of havoc in terms of spitting out a large number of PHP errors at a rapid pace that’s taking up disk space on the server.
The errors appear to be in reference to avia-head-scripts, some sort of internal reference within the theme. Taking a look through the theme developer’s website, it looks like there have been a few people running into this issue within the last week or so. It doesn’t look like they’ve released a patch to fix it up as of yet, however, it’d be worth shooting off a support request.”
March 19, 2020 at 10:51 am #1194360Hi,
This is an issue with the theme’s Performance > File Compression settings coupled with the server’s database caching. The theme doesn’t recognize that the merged files already exist because of the timestamp that is appended at the very end of the file name, so it tries to generate them over and over.
Temporary solution is to disable the theme’s file compression settings and instead install a third party plugin such as Autoptimize or BWP Minify. Or use this filter in the functions.php to remove the timestamp in the merged files.
function my_custom_merged_files_unique_id( $uniqid, $file_type, $data, $enqueued, $file_group_name, $conditions ) { return 'my_stamp'; } add_filter( 'avf_merged_files_unique_id', 'my_custom_merged_files_unique_id', 10, 6 );
Best regards,
IsmaelMarch 19, 2020 at 4:36 pm #1194449So disable both CSS and Javascript compression. Would this be best, or should we use the functions.php script?
March 23, 2020 at 4:07 am #1195335Hey!
If database caching is enabled in your server, then using a compression plugin is the better option. You should only add the snippet in the functions.php file if you want to keep theme’s compression settings enabled.
Regards,
IsmaelJanuary 7, 2022 at 5:15 pm #1334705I am having the same issue – 57073 MB /home/andersonsafetyas/public_html/error_log
Any ideas? Would what you have said above help this or is it something different?
s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4f5e269c3c\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4f8a242ab0\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4f8ae4831b\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fb96e3d4f\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fb9a91b48\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fc150dfab\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fc16f2767\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fe74e7043\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd4fe76c93c5\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd50166c02e9\”;s:21:\”error-generating-file\”;s:68:\”avia-footer-scripts-de2afef0b28f8da7f9634601585d864c—5fd501698c3a1\”;s:21:\”error-generati
January 7, 2022 at 5:24 pm #1334708My hosting tech said this too:
You can pass this to the dev team or theme creator
s:66:\”avia-head-scripts-b40c65c18f9bdb2b575c4d16bb2860b8—5f921311e2183\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-b40c65c18f9bdb2b575c4d16bb2860b8—5f92165f5b318\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-b40c65c18f9bdb2b575c4d16bb2860b8—5f9216fbd5587\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-b40c65c18f9bdb2b575c4d16bb2860b8—5f9218ce61493\”;s:21:\”error-generating-file\”;s:66:\”avia-head-scripts-b40c65c18f9bdb2b57January 8, 2022 at 4:42 am #1334748 -
AuthorPosts
- You must be logged in to reply to this topic.