Title: TypeError thrown
Last modified: November 12, 2018

---

# TypeError thrown

 *  [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/)
 * Hello I have the following error message when I want to go to the plugin. Do 
   you have any idea how to resolve this?
 * Thank you in advance.
 * TypeError thrown
 * Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance
   of FS_User, null given, called in /srv/data/web/vhosts/www.thibautgoarant.com/
   htdocs/wp-content/plugins/add-search-to-menu/includes/freemius/includes/class-
   freemius.php on line 18483
    -  This topic was modified 7 years, 6 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftypeerror-thrown%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869906)
 * Your `add-search-to-menu` plugin seems to be the error.
 * Access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/plugins/
   and rename or delete the directory of `add-search-to-menu` plugin.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869917)
 * Moved your topic to [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 *  Thread Starter [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869919)
 * thank you for the swift reply.
 * sorry, I just deleted the directory add-search-to-menu and it still doesn’ work.
 * TypeError thrown
 * Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance
   of FS_User, null given, called in /srv/data/web/vhosts/www.thibautgoarant.com/
   htdocs/wp-content/plugins/add-search-to-menu/includes/freemius/includes/class-
   freemius.php on line 18483
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869925)
 * That error indicates Your add-search-to-menu plugin to be the error.
 * Could be cache:
    – **Flushing any caching plugins you might be running**, as 
   well as server and/or [browser caches](http://www.refreshyourcache.com/). Not
   just your browser, but any op cache or content network cache as well [such as Cloudflare](https://support.cloudflare.com/hc/en-us/articles/200169246-How-do-I-purge-my-cache-).
   If you are using SiteLock, manage your caching there. – **Flushing Managed host
   caches**. Managed WP hosting often has special caches. If your host has a “Purge
   Varnish” or “Flush Memcache” tool, try that. You can ask your provider to flush
   memcache and Varnish for you if necessary.
 *  Thread Starter [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869941)
 * thanks, I varnished the internet cache as well as the host cache (using Gandi)
   but it still doesn’t work.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10869948)
 * The error you posted above indicates `add-search-to-menu` plugin throwing it.
 * If you deleted that plugin, and also cleared all caches, then my suggestion is
   to contact your hosting provider.
 * Meanwhile Please check the error logs on your server for a more specific error
   message, which may give a clue to why this is happening on your website/server.
   If you need help locating them, ask your hosting provider to help you with that.
   –
   If you cannot find error logs or if you don’t find any helpful info in the error
   logs, try [Enabling debugging](https://codex.wordpress.org/Debugging_in_WordPress)
 *  Thread Starter [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10870001)
 * OK thank you, I contacted them.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10870010)
 * You are welcome 🙂

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

The topic ‘TypeError thrown’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thrown/#post-10870010)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
