Google fonts saving to wp_options causes crash
-
Hi,
I upgraded from version 1.20.5 > 1.21.4 and since then i have had the site crash due to excessive logs being created by this plugin.
It is trying to cache all of google fonts into the wp_options table despite me turning off all of the google fonts, caching and loading of the stylesheet assets etc in the settings.
[03-Oct-2025 19:40:26 UTC] WordPress database error Got a packet bigger than 'max_allowed_packet' bytes for query INSERT INTOwp_options(option_name,option_value,autoload) VALUES ('_site_transient_pum_google_fonts_list',
......
VALUES(option_name),option_value= VALUES(option_value),autoload= VALUES(autoload) made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), get_header, locate_template, load_template, require_once('/themes/astra/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, PUM_Site_Assets::register_styles, PUM_Site_Assets::inline_styles, PUM_AssetCache::inline_css, PUM_AssetCache::generate_font_imports, PUM_Model_Theme->get_google_fonts_used, PUM_Integration_GoogleFonts::fetch_fonts, set_site_transient, add_site_option, add_network_option, add_optionThe above is just a snippet of the the log it creates which is 1.5million characters totalling 1.5mb every time this entry is triggered and this quickly makes server/wp logs climb quickly within minutes which is causing the server/site to become unresponsive and then crashing.
I have since reverted back to v1.20.5 and this is no longer an issue.
Is this something you are aware of or can someone assist on this?
Thank you kindly.
Regards,
Martin
You must be logged in to reply to this topic.