Error on run.php, no fonts and empty css in omgf folder …
-
Hi Daan,
we’re OMGF with a Divi theme, latest versions.In the Divi settings Google font loading and subsets are active. In OMGFs Advanced tab, Divi and Elementor compatibility is auto checked.
OMGF says the fonts we’re loaded sucessfully locally in backend and disables the external font loading via Divi, but writes an empty css file with just the leading comment and writes no fonts.
With activated automatic subset configuration under “Advanced” in OMGF, saving on the main OMGF tab leads to an uncaught error:
Uncaught Error: ucfirst(): Argument #1 ($string) must be of type string, array given
in .../wp-content/plugins/host-webfonts-local/src/Optimize/Run.php on line 251
Call stack:
ucfirst()
wp-content/plugins/host-webfonts-local/src/Optimize/Run.php:251
OMGF\Optimize\Run::fluent_implode()
wp-content/plugins/host-webfonts-local/src/Optimize/Run.php:206
OMGF\Optimize\Run::optimization_succeeded()
wp-content/plugins/host-webfonts-local/src/Optimize/Run.php:47
OMGF\Optimize\Run::run()
wp-content/plugins/host-webfonts-local/src/Optimize/Run.php:31
OMGF\Optimize\Run::__construct()
wp-content/plugins/host-webfonts-local/src/Admin/Optimize.php:72
OMGF\Admin\Optimize::run()
wp-content/plugins/host-webfonts-local/src/Admin/Optimize.php:63
OMGF\Admin\Optimize::init()
wp-content/plugins/host-webfonts-local/src/Admin/Optimize.php:40
OMGF\Admin\Optimize::__construct()
wp-content/plugins/host-webfonts-local/src/Admin/Actions.php:54
OMGF\Admin\Actions::do_optimize()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:176
require_once('/homepages/29/d51171...0/wp-admin/admin.php')
wp-admin/options-general.php:10This still persists when all plugins but OMGF Free and Query Monitor are deactivated, after a deleted and reinstalled 6.0.3 and even with rollbacks to OMGF 6.02, 6.0.0 and 5.9.3, with and without active OMGF Pro.
The writing access works, else the unfilled et-builder-googlefonts.css wouldn’t exist and even be recreated after deleting the cache in backend or manually via FTP.
I won’t try it out on other OMGF / Divi combo projects because this is our only project which isn’t online currently. 😉
What happens here? o_O
Regards from Germany
Ann
The topic ‘Error on run.php, no fonts and empty css in omgf folder …’ is closed to new replies.