We use Freemius WordPress SDK to handle our licensing system. There are a few known issues that users have experienced.
Known issues
- After upgrading the plugin, the plan remains Free. Even after re-sync license
- Unable to activate the license
- 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
- 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
- After upgrading the plugin, the plan remains Free. Even after re-syncing the license
- Unable to activate the license
- 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
- 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.
- Log in to your WP Admin area
Go to WooCommerce
->FiboSearch
->My Account
- 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:
- Download the Freemius Fixer plugin here. You can also download it via the GitHub website.
- Install the plugin in your WordPress
- After installing and activating, you will be redirected to a special page. Click the button (2) Fix – Clean Up Data & Deactivate.