Title: Plugin can not be activated
Last modified: December 11, 2022

---

# Plugin can not be activated

 *  Resolved [webdvp](https://wordpress.org/support/users/webdvp/)
 * (@webdvp)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-can-not-be-activated-5/)
 * Upon migrating my website to another host I am not able to activate neither the
   free or the premium version of the plugin.
 * Server info: LiteSpeed
    Apache Version 2.4.54 PHP Version 8.0.25 MySQL Version
   10.3.37-MariaDB PHP post max size: 32 MB PHP time limit: 180 PHP max input vars:
   10000` WordPress memory limit: 256 MB WordPress version: 6.1.1 WooCommerce version:
   7.1.0 Annasta Woocommerce Product Filters: 1.6.0
 * Error message:
 *     ```
       Plugin could not be activated because it triggered a fatal error.
   
       Warning: Undefined array key "annasta-woocommerce-product-filters" in /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php on line 16317
   
       Fatal error: Uncaught TypeError: Freemius::get_api_user_scope_by_user(): Argument #1 ($user) must be of type FS_User, bool given, called in /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php on line 22748 and defined in /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php:22762 Stack trace: #0 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(22748): Freemius->get_api_user_scope_by_user() #1 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(22787): Freemius->get_api_user_scope() #2 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(19664): Freemius->get_current_or_network_user_api_scope() #3 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(11506): Freemius->_fetch_plugin_plans() #4 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(16319): Freemius->_sync_plans() #5 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(544): Freemius->_load_account() #6 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php(2832): Freemius->__construct() #7 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/start.php(521): Freemius::instance() #8 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/annasta-woocommerce-product-filters.php(48): fs_dynamic_init() #9 /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/annasta-woocommerce-product-filters.php(69): a_w_f_fs() #10 /home/highduke/public_html/wp-admin/includes/plugin.php(2314): include_once('/home/highduke/...') #11 /home/highduke/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #12 {main} thrown in /home/highduke/public_html/wp-content/plugins/annasta-woocommerce-product-filters/freemius/includes/class-freemius.php on line 22762
       ```
   

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

 *  Thread Starter [webdvp](https://wordpress.org/support/users/webdvp/)
 * (@webdvp)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-can-not-be-activated-5/#post-16278393)
 * It seems it was a corrupted data issue, for which Freemius built the [Freemius-Fixer plugin](https://github.com/Freemius/freemius-fixer).
 * The issue has been resolved.
 *  Plugin Author [annastaa](https://wordpress.org/support/users/annastaa/)
 * (@annastaa)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-can-not-be-activated-5/#post-16280140)
 * Hello Webdvp,
 * Thank you so much for sharing both the issue, AND the solution to the problem
   with us and other users of the plugin!
 * Have a great day

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

The topic ‘Plugin can not be activated’ is closed to new replies.

 * ![](https://ps.w.org/annasta-woocommerce-product-filters/assets/icon-256x256.
   png?rev=2051343)
 * [annasta Filters for WooCommerce](https://wordpress.org/plugins/annasta-woocommerce-product-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/annasta-woocommerce-product-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [annastaa](https://wordpress.org/support/users/annastaa/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-can-not-be-activated-5/#post-16280140)
 * Status: resolved