• 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.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    Your add-search-to-menu plugin seems to be the error.

    Access your server via SFTP or FTP, 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

    (@t-p)

    Moved your topic to Fixing WordPress

    Thread Starter tgoarant

    (@tgoarant)

    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

    (@t-p)

    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. Not just your browser, but any op cache or content network cache as well such as Cloudflare. 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

    (@tgoarant)

    thanks, I varnished the internet cache as well as the host cache (using Gandi) but it still doesn’t work.

    Moderator t-p

    (@t-p)

    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

    Thread Starter tgoarant

    (@tgoarant)

    OK thank you, I contacted them.

    Moderator t-p

    (@t-p)

    You are welcome 🙂

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

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