Support » Plugin: Easy Google Fonts » Fatal error on Settings -> advanced page

  • Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc()
    in /…/htdocs/opajaap/betatest/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php on line 497

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Jacob

    Me too. Have you updated PHP version to 8? And have you resolved your problem? My error is below after updating to php 8.0.3.

    WordPress Version 5.7.2 `Current plugin: Easy Google Fonts (version 1.4.4) PHP version 8.0.3

    Error Details
    =============
    An error of type E_ERROR was caused in line 497 of the file /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php. Error message: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php:497
    Stack trace:
    #0 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php(254): EGF_Font_Utilities::json_decode()
    #1 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php(335): EGF_Font_Utilities::get_google_fonts()
    #2 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/customizer/class-egf-customize-manager.php(178): EGF_Font_Utilities::get_all_fonts()
    #3 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/customizer/class-egf-customize-manager.php(229): EGF_Customize_Manager->customize_load_all_fonts()
    #4 /home/secretsauce/public_html/wp-includes/class-wp-hook.php(292): EGF_Customize_Manager->customize_controls_enqueue_scripts()
    #5 /home/secretsauce/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #6 /home/secretsauce/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #7 /home/secretsauce/public_html/wp-admin/customize.php(123): do_action()
    #8 {main}
    thrown`

    Plugin Author Sunny Johal

    (@sunny_johal)

    Hi @opajaap,
    I am currently rewriting the plugin and an update will be available within the next week. Thanks for reaching out!

    Plugin Author Sunny Johal

    (@sunny_johal)

    This is fixed in the latest release

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.