Fatal error: Uncaught Error:

  • Unknown's avatar

    I recently updated my WordPress hosting server to PHP 7. Since then I have been having an issue with logging into the backend of the site. Here is the message I receive after entering my Username and Password:

    “Fatal error: Uncaught Error: Using $this when not in object context in /www/wp-content/plugins/MyFontsWebfontsKit/mf-options.inc:28 Stack trace: #0 /www/wp-includes/class-wp-hook.php(286): MyFontsSettings_3496500::adminInit(”) #1 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /www/wp-admin/admin.php(156): do_action(‘admin_init’) #4 /www/wp-admin/plugins.php(10): require_once(‘/www/wp-admin/a…’) #5 {main} thrown in /www/wp-content/plugins/MyFontsWebfontsKit/mf-options.inc on line 28″

    When I SFTP into the backend of the site, I am able to disable the Webfonts plugin. When disabled, I can login with no issue. Once I reactivate that plugin then the I get the same message.

    Is this an issue with that plugin? I even reached out to them and they said that they had know idea what the problem is.

    Thanks in advance for your help!

  • Unknown's avatar

    Hey wadesteele,

    You sound to have a self-hosted WordPress website.

    If so, you should contact your web hosting support. And you can also submit your query to WordPress.org forums.

    https://wordpress.org/support/forums/

  • The topic ‘Fatal error: Uncaught Error:’ is closed to new replies.