Title: Error php 8.1
Last modified: April 8, 2022

---

# Error php 8.1

 *  Resolved [jalo399](https://wordpress.org/support/users/jalo399/)
 * (@jalo399)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-1/)
 * thrown in /home/uwzjxdvo/public_html/static/wp-content/plugins/host-google-fonts-
   pro/includes/frontend/class-fallback-font-stacks.php on line 54
    [08-Apr-2022
   13:12:37 UTC] PHP Fatal error: Uncaught Error: Undefined constant “OMGF_CACHE_PATH”
   in /home/uwzjxdvo/public_html/static/wp-content/plugins/host-google-fonts-pro/
   includes/frontend/class-fallback-font-stacks.php:54 Stack trace: #0 /home/uwzjxdvo/
   public_html/static/wp-content/plugins/host-google-fonts-pro/includes/frontend/
   class-optimize.php(194): OmgfPro_Frontend_FallbackFontStacks->__construct() #
   1 /home/uwzjxdvo/public_html/static/wp-content/plugins/host-google-fonts-pro/
   includes/frontend/class-optimize.php(186): OmgfPro_Frontend_Optimize->insert_fallback_font_stacks()#
   2 /home/uwzjxdvo/public_html/static/wp-content/plugins/host-google-fonts-pro/
   includes/frontend/class-optimize.php(169): OmgfPro_Frontend_Optimize->optimize()#
   3 [internal function]: OmgfPro_Frontend_Optimize->init() #4 /home/uwzjxdvo/public_html/
   static/wp-includes/functions.php(5219): ob_end_flush() #5 /home/uwzjxdvo/public_html/
   static/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all() #6 /home/uwzjxdvo/
   public_html/static/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()#
   7 /home/uwzjxdvo/public_html/static/wp-includes/plugin.php(474): WP_Hook->do_action()#
   8 /home/uwzjxdvo/public_html/static/wp-includes/load.php(1100): do_action() #
   9 [internal function]: shutdown_action_hook() #10 {main} thrown in /home/uwzjxdvo/
   public_html/static/wp-content/plugins/host-google-fonts-pro/includes/frontend/
   class-fallback-font-stacks.php on line 54

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-1/#post-15540548)
 * From the name of the constant (OMGF_CACHE_PATH) I know you’re running an outdated
   version of either OMGF or OMGF Pro 🙂
 * Please make sure both are updated to the latest version. Current versions are:
 * OMGF 5.1.1
    OMGF Pro 3.4.3

Viewing 1 replies (of 1 total)

The topic ‘Error php 8.1’ is closed to new replies.

 * ![](https://ps.w.org/host-webfonts-local/assets/icon-256x256.png?rev=3300821)
 * [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.](https://wordpress.org/plugins/host-webfonts-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-webfonts-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-webfonts-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-webfonts-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-webfonts-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-webfonts-local/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-1/#post-15540548)
 * Status: resolved