This topic has 22 replies, 2 voices, and was last updated 1 months ago ago by Luca Rossi
Hello, we have this error popping up in the Health site console, how do we fix this?
Auto-loaded parameters are configuration settings for plugins and themes that are automatically loaded each time a page is loaded in WordPress. Having too many auto-loaded settings can slow down your site. There are 5563 pieces of automatically loaded settings (size: 2 MB) in your site’s settings table, which can cause your site to slow down. You can review the settings automatically loaded into the database and remove any that are no longer needed by the site.
Dear @Goostaf,
We hope this message finds you well.
It appears that the wp_options table in your database may have grown too large. We kindly suggest logging into your PHPMyAdmin to review the table’s size.
Additionally, it may be helpful to remove any unusual or unnecessary plugins that could be contributing to the issue.
As an alternative solution, you could consider increasing the size limit of autoloaded options. You can find more information on this topic in the following link:
[Autoloaded Options Issue in Site Health](https://wordpress.org/support/topic/autoloaded-options-issue-in-site-health/)
Should you require further assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team
Thanks, read the thread, installed the Autoload Checker plugin and I see this:
1516 KB
Autoload top list:
# Option name Size
1 et_header_builder_fonts 446 KB
2 theme_mods_xstore-child 121 KB
3 permalink-manager-uris 82 KB
4 widget_custom_html 65 KB
5 wooccm_billing 49 KB
6 wpseo_taxonomy_meta 45 KB
7 et_multiple_headers 33 KB
8 cforms_settings 29 KB
9 redux_builder_amp 28 KB
10 rewrite_rules 27 KB
11 ppoec_user_roles 24 KB
12 fs_accounts 21 KB
13 wooccm_shipping 20 KB
14 asl_debug_data 20 KB
15 bwp_minify_detector_log 19 KB
16 _wc-bitrix24-contact-fields 19 KB
17 _cf7-bitrix-company-fields 19 KB
18 _wc-bitrix24-company-fields 19 KB
19 nf_form_1 18 KB
20 _wc-bitrix24-lead-fields 18 KB
Do I understand correctly that this is your table in the 1st place? I see a topic you have with cleaning methods, can this be done from us?
https://www.8theme.com/topic/huge-table-called-et_header_builder_fonts/
Dear @Goostaf,
We hope this message finds you well.
Yes, you can proceed with the following steps:
1. Add the code below to the **functions.php** file located in your child theme:
update_option('et_header_builder_fonts', array(), 'no');
2. After adding the code, refresh your website.
3. Once the website has been refreshed, return to the **functions.php** file and remove the code.
Please note, we strongly recommend backing up your database before proceeding with these changes to ensure the safety of your data.
Best regards,
The 8Theme Team
Did I understand correctly that you need to wait for the next update and then the error will disappear?
Dear Goostaf,
We hope this message finds you well.
We would like to inform you that this issue appears to occur only on certain customer sites. At this time, we do not have any scheduled updates to address this matter.
Thank you for your understanding.
Best regards,
8Theme Team
then the code above doesn’t need to be put anywhere? Isn’t it something to do with fonts? We have it added locally, maybe we did something wrong.
Dear @Goostaf,
We hope this message finds you well.
Please be informed that the code referenced in the link below may potentially remove the custom fonts:
[Link to Screenshot](https://prnt.sc/3eaUb_Sof1-O)
To address this, you may want to consider removing some custom fonts to reduce the size of the wp_options
table. Alternatively, you can use the following code to increase the maximum autoloaded option size:
add_filter( 'wp_max_autoloaded_option_size', 'my_max_autoload_option_size' );
function my_max_autoload_option_size( $size ) {
// Reduce the threshold for large sizes to 100K (Default is 150K).
return 100000;
}
We hope this solution proves helpful.
Best regards,
8Theme Team
I’m sorry, I do not know what to choose, I thought local fonts on the contrary speed up the site, but it turns out that it is on the contrary becomes heavier? The second code if I put, something will change on the site? Will it become slower or faster?
Dear @Goostaf,
We hope this message finds you well.
We would like to inform you that the wp_option table has grown significantly in size, which may potentially affect your website’s performance.
To address this, we recommend continuing to use the font via CDN to help optimize your site’s speed and efficiency.
Thank you for your attention to this matter.
Best regards,
The 8Theme Team
Let’s do it again, please, we’re not clear on what to do. In this thread you recommended us to connect fonts locally: https://www.8theme.com/topic/is-it-possible-to-make-fonts-local-on-the-server/#post-393021 to optimize the site, now it has caused a base growth problem and is negatively affecting the site, do I understand correctly? Maybe then it’s easier for us to use google font as before and that will solve the problem? Or do we need to put your code in function after all?
ђ
Dear @Goostaf,
We hope this message finds you well.
In our opinion, we would like to recommend that you load Google Fonts via a CDN, as was done previously. Additionally, we suggest utilizing the WP-Rocket plugin to enable font preloading for optimal performance.
For your convenience, please find the relevant documentation below:
– [Optimizing Google Fonts with WP-Rocket](https://docs.wp-rocket.me/article/1312-optimize-google-fonts)
– [Preloading Fonts with WP-Rocket](https://docs.wp-rocket.me/article/1317-preload-fonts)
– [Best Practices for Font Preloading](https://wp-rocket.me/blog/font-preloading-best-practices/)
Should you have any further questions or require assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team.
Ok, we added the font to WP Rocket, also on the hosting for some reason there are a lot of the same font files, maybe we need to do something here too?
Hi @Goostaf,
Where can we find those font files in the WordPress dashboard to check?
Thank you!
Maybe here?
Maybe that’s what’s causing the problem. Basically on the site we only use Monserat regular kind of thing.
Dear @Goostaf,
We hope this message finds you well.
We would like to kindly suggest that you retain only the fonts currently in use on your website. Specifically, we recommend keeping the following:
– Montserrat Regular/Medium
– Montserrat Bold
We also advise removing any additional fonts that are not being utilized.
Thank you for your attention to this matter. Should you have any questions or require further assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team
Thank you, that’s what we did
Dear Goostaf,
Could you kindly confirm whether the size of the wp_options table has decreased after the custom fonts were deleted?
Thank you in advance for your assistance.
Best regards,
8Theme Team
Now it’s like this, but the error from the console hasn’t disappeared for some reason
Where are the font files in general? I can’t find the path to add local fonts to WP Rocket preloading
Hi @Goostaf,
Please try with the following URL of font files from your website:
/wp-content/uploads/custom-fonts/2024/04/montserrat-regular.ttf
/wp-content/uploads/custom-fonts/2024/04/montserrat-bold.ttf
/wp-content/themes/xstore/fonts/xstore-icons-light.ttf
Here is the screenshot: https://prnt.sc/M6K-DSKEqrKY.
Hope it helps!
You must be logged in to reply to this topic.Log in/Sign up