License fixer

We use Freemius WordPress SDK to handle our licensing system. There are a few known issues that users have experienced.

Known issues

  1. After upgrading the plugin, the plan remains Free. Even after re-sync license
  2. Unable to activate the license
  3. PHP fatal error similar to following:
    Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /{server-path}/public_html/wp-content/plugins/ajax-search-for-woocommerce-premium/fs/lib/includes/managers/class-fs-admin-notice-manager.php:155
  4. PHP fatal error similar to following:
    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 /{server-path}/public_html/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/class-freemius.php on line 22695
  1. After upgrading the plugin, the plan remains Free. Even after re-syncing the license
  2. Unable to activate the license
  3. PHP fatal error similar to the following:
    Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /{server-path}/public_html/wp-content/plugins/ajax-search-for-woocommerce-premium/fs/lib/includes/managers/class-fs-admin-notice-manager.php:155
  4. PHP fatal error similar to the following:
    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 /{server-path}/public_html/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/class-freemius.php on line 22695

Solution 1

Maybe the issue is related to cache. In this case you have to sync data or activate the Pro plan manually.

  1. Log in to your WP Admin area
  2. Go to WooCommerce -> FiboSearch -> My Account
  3. Click “sync” or “Activate Pro Plan

Solution 2

First, you can try to uninstall the FiboSearch plugin and install it again via the WordPress Plugins panel. It sometimes helps especially for the first and second issues described above.

You have to clear Freemius-related data on your site using our Freemius Fixer plugin. Follow these steps:

  1. Download the Freemius Fixer plugin here. You can also download it via the GitHub website.
  2. Install the plugin in your WordPress
  3. After installing and activating, you will be redirected to a special page. Click the button (2) Fix – Clean Up Data & Deactivate.