Title: Error when enabling the plugin
Last modified: January 8, 2021

---

# Error when enabling the plugin

 *  [markckbltd](https://wordpress.org/support/users/markckbltd/)
 * (@markckbltd)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-when-enabling-the-plugin/)
 * Hi, this plugin always worked well for us. But recently we moved server to flywheel
   and not when enabling it we get the following error. Flywheel cant help with 
   plugins, so i hope you can. Thanks
 * ( ! ) Fatal error: Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user()
   must be an instance of FS_User, bool given, called in /Users/ckb/Local Sites/
   gifts-tomorrow/app/public/wp-content/plugins/advanced-nocaptcha-recaptcha/freemius/
   includes/class-freemius.php on line 22695 and defined in /Users/ckb/Local Sites/
   gifts-tomorrow/app/public/wp-content/plugins/advanced-nocaptcha-recaptcha/freemius/
   includes/class-freemius.php on line 22709
    ( ! ) TypeError: Argument 1 passed
   to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, bool
   given, called in /Users/ckb/Local Sites/gifts-tomorrow/app/public/wp-content/
   plugins/advanced-nocaptcha-recaptcha/freemius/includes/class-freemius.php on 
   line 22695 in /Users/ckb/Local Sites/gifts-tomorrow/app/public/wp-content/plugins/
   advanced-nocaptcha-recaptcha/freemius/includes/class-freemius.php on line 22709
   Call Stack # Time Memory Function Location 1 0.0012 560696 {main}( ) …/plugins.
   php:0 2 1.5506 43213944 plugin_sandbox_scrape( ) …/plugins.php:191 3 1.5508 43218448
   include( ‘/Users/ckb/Local Sites/gifts-tomorrow/app/public/wp-content/plugins/
   tier-pricing-table/tier-pricing-table.php’ ) …/plugin.php:2299 4 1.5512 43223552
   require_once( ‘/Users/ckb/Local Sites/gifts-tomorrow/app/public/wp-content/plugins/
   tier-pricing-table/licence-init.php’ ) …/tier-pricing-table.php:26 5 1.5512 43223552
   tpt_fs( ) …/licence-init.php:42 6 1.5524 43229896 fs_dynamic_init( ) …/licence-
   init.php:17 7 1.5524 43229896 Freemius::instance( ) …/start.php:521 8 1.5524 
   43230952 Freemius->__construct( ) …/class-freemius.php:2825 9 1.5542 43259552
   Freemius->_load_account( ) …/class-freemius.php:537 10 1.5543 43261416 Freemius-
   >_sync_plans( ) …/class-freemius.php:16261 11 1.5543 43261416 Freemius->_fetch_plugin_plans()…/
   class-freemius.php:11471 12 1.5543 43261416 Freemius->get_current_or_network_user_api_scope()…/
   class-freemius.php:19625 13 1.5543 43261416 Freemius->get_api_user_scope( ) …/
   class-freemius.php:22734 14 1.5543 43261416 Freemius->get_api_user_scope_by_user()…/
   class-freemius.php:22695
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-enabling-the-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Error when enabling the plugin’ is closed to new replies.

 * ![](https://ps.w.org/tier-pricing-table/assets/icon-256x256.gif?rev=3025448)
 * [Tiered Pricing Table for WooCommerce](https://wordpress.org/plugins/tier-pricing-table/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tier-pricing-table/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tier-pricing-table/)
 * [Active Topics](https://wordpress.org/support/plugin/tier-pricing-table/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tier-pricing-table/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tier-pricing-table/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [markckbltd](https://wordpress.org/support/users/markckbltd/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/error-when-enabling-the-plugin/)
 * Status: not resolved