Title: cann&#8217;t login wp-admin localhost
Last modified: August 29, 2026

---

# cann’t login wp-admin localhost

 *  Resolved [ronhe](https://wordpress.org/support/users/ronhe/)
 * (@ronhe)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/)
 * Hi,
   After restoring my website to localhost I got this message, while logging
   in to wp-admin
 * 
   **Fatal error**: Uncaught Error: Class “GPDFAPI” not found in D:\Xampp\htdocs\
   he\wp-content\plugins\gravity-pdf\src\Helper\Licensing\EDD_SL_Plugin_Updater.
   php:508 Stack trace: #0 D:\Xampp\htdocs\he\wp-content\plugins\gravity-pdf\src\
   Helper\Licensing\EDD_SL_Plugin_Updater.php(147): GFPDF\Helper\Licensing\EDD_SL_Plugin_Updater-
   >get_version_info() #1 D:\Xampp\htdocs\he\wp-content\plugins\gravity-pdf\src\
   Helper\Licensing\EDD_SL_Plugin_Updater.php(196): GFPDF\Helper\Licensing\EDD_SL_Plugin_Updater-
   >get_repo_api_data() #2 D:\Xampp\htdocs\he\wp-content\plugins\gravity-pdf\src\
   Helper\Licensing\EDD_SL_Plugin_Updater.php(123): GFPDF\Helper\Licensing\EDD_SL_Plugin_Updater-
   >get_update_transient_data() #3 D:\Xampp\htdocs\he\wp-includes\class-wp-hook.
   php(355): GFPDF\Helper\Licensing\EDD_SL_Plugin_Updater->check_update(Object(stdClass))#
   4 D:\Xampp\htdocs\he\wp-includes\plugin.php(206): WP_Hook->apply_filters(Object(
   stdClass), Array) #5 D:\Xampp\htdocs\he\wp-includes\option.php(2654): apply_filters(‘
   pre_set_site_tr…’, Object(stdClass), ‘update_plugins’) #6 D:\Xampp\htdocs\he\
   wp-includes\update.php(425): set_site_transient(‘update_plugins’, Object(stdClass))#
   7 D:\Xampp\htdocs\he\wp-includes\update.php(1060): wp_update_plugins() #8 D:\
   Xampp\htdocs\he\wp-includes\class-wp-hook.php(353): _maybe_update_plugins(”) #
   9 D:\Xampp\htdocs\he\wp-includes\class-wp-hook.php(377): WP_Hook->apply_filters(
   NULL, Array) #10 D:\Xampp\htdocs\he\wp-includes\plugin.php(523): WP_Hook->do_action(
   Array) #11 D:\Xampp\htdocs\he\wp-admin\admin.php(180): do_action(‘admin_init’)#
   12 D:\Xampp\htdocs\he\wp-admin\index.php(10): require_once(‘D:\\Xampp\\htdocs…’)#
   13 {main} thrown in **D:\Xampp\htdocs\he\wp-content\plugins\gravity-pdf\src\Helper\
   Licensing\EDD_SL_Plugin_Updater.php** on line **508**

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/#post-19007063)
 * Thanks for reporting this issue [@ronhe](https://wordpress.org/support/users/ronhe/).
   I’ve been able to reproduce and will get this fixed up in our next update. It
   should be released later this week via GravityPDF.com, and I’ll send a follow-
   up message when the patch goes out.
 * Reviewing the bug, it looks like the error can occur [if the plugin requirements aren’t met](https://docs.gravitypdf.com/users/installation/#plugin-requirements).
   Since you cloned your production site, it’s likely your dev site is missing one
   of the PHP extensions listed under server requirement. Check if you have all 
   listed extensions enabled and install any missing.
 *  Thread Starter [ronhe](https://wordpress.org/support/users/ronhe/)
 * (@ronhe)
 * [1 week ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/#post-19007234)
 * Hi Jake,
   Thanks for the reply and that the “issue” can be addressed.I wait for
   an update and then try e new restore.As far I can understand I have all the extensions
   enabledHi Jake,Thanks for the reply and that the “issue” can be addressed.I wait
   for an update and then try e new restore.As far I can understand I have all the
   extensions enabled
 * Ron
 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [4 days, 10 hours ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/#post-19011021)
 * Hey [@ronhe](https://wordpress.org/support/users/ronhe/),
 * We’ve just released Gravity PDF 6.17 which resolves the fatal error you reported.
   Grab a copy from [https://gravitypdf.com/download/](https://gravitypdf.com/download/),
   unzip it, and replace the `gravity-pdf` folder in `D:\Xampp\htdocs\he\wp-content\
   plugins\` with the new version. You should then be able to access the wp-admin
   area.
 *  Thread Starter [ronhe](https://wordpress.org/support/users/ronhe/)
 * (@ronhe)
 * [2 days, 14 hours ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/#post-19012397)
 * Jake,
 * GREAT, this works. Thnx, good service!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannt-login-wp-admin-localhost%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/gravity-forms-pdf-extended/assets/icon-256x256.png?rev=3168987)
 * [Gravity PDF](https://wordpress.org/plugins/gravity-forms-pdf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-pdf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ronhe](https://wordpress.org/support/users/ronhe/)
 * Last activity: [2 days, 14 hours ago](https://wordpress.org/support/topic/cannt-login-wp-admin-localhost/#post-19012397)
 * Status: resolved