Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Fatal Error: Freemius

  • Resolved agreda

    (@agreda)


    What is Freemius?
    Are there any related NGG setting that can be edited regarding this ?

    Better Yet: Any help resolving this fatal error we discovered in our error logs is greatly appreciated. Our galleries appear to be functioning properly, so I do not know what action may throw the error. I noticed it while reviewing our logs.

    Wasn’t sure if this was a bug report or not…Thanks for any feedback!

    [20-Dec-2018 19:15:47 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() 
    must be an instance of FS_User, boolean given, called in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemi
    us/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/nextgen-gallery/fre
    emius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_a
    pi_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_a
    pi_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_c
    urrent_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch
    _plugin_plans()
    #4 /home/user/public_html/wp-content in /home/tripawds/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/c
    lass-freemius.php on line 18602

    WordPress 5.0.2
    NextGen Version 3.1.2

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @agreda, my name is Vova and I’m from Freemius, the service that NextGEN is using. You can learn about it here:
    https://freemius.com/wordpress/usage-tracking/266/nextgen-gallery/

    With regards to the log error, did it happen once? Or is it still happening?

    agreda

    (@agreda)

    Thanks for the info @svovaf – I will need to investigate if error persists.

    I never opted in to the use of Freemius as the link you provided suggests. I also find no “Opt-out link next to the plugin’s column” as described.

    How might one opt out and would that prevent the freemius function from firing?

    agreda

    (@agreda)

    @svovaf I have confirmed that the errors persist. I do not know how long these have been going on, but we first noticed them recently after WP 5.x updates and most recent NGG release.

    FYI: This is a WP Multisite installation, and errors are occurring quite often on the primary blog, site ID=1. We have been running the NGG plugin for 8± years.

    [22-Dec-2018 21:25:34 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [22-Dec-2018 21:30:03 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [22-Dec-2018 21:33:45 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [22-Dec-2018 21:42:17 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [22-Dec-2018 23:56:45 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [23-Dec-2018 04:35:25 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [23-Dec-2018 09:55:25 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    [23-Dec-2018 20:25:52 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called
     in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/
    nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18602
    
    Plugin Support mihai-imagely

    (@mihaiimagely)

    Hi @agreda,

    Can you please update to NGG 3.1.16 to see if the issue persists?

    Please let us know,
    Mihai

    Looks like we are no longer seeing the error in v. 3.1.5 – sorry for not reporting back sooner. Will update to v3.1.6 now to ensure issue does not reoccur, and return soon to mark as resolved.

    agreda

    (@agreda)

    We no longer have any Freemius errors in our server logs.

    Thank you for the hard work and good support.

    agreda

    (@agreda)

    @mihaiimagely Sorry to say, we are once again seeing Freemius errors in our error logs…WP Version 5.0.3 (Multisite Network, Primary Site, ID wp_1_), NGG Version 3.1.6

    [24-Jan-2019 17:46:10 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must
    be an instance of FS_User, boolean given, called in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/inclu
    des/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includ
    es/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_u
    ser_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_u
    ser_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_curre
    nt_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plu
    gin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class
    -freemius.php on line 18602

    Please advise. Thank you!

    @mihaiimagely These errors persist. Please advise.

    NGG Version 3.1.6, WordPress (Multisite) Version 5.0.3

    [30-Jan-2019 22:51:32 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, boolean given, called in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php on line 18588 and defined in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php:18602
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18588): Freemius->get_api_user_scope_by_user(false)
    #1 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(18626): Freemius->get_api_user_scope(false)
    #2 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(15981): Freemius->get_current_or_network_user_api_scope()
    #3 /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.php(9417): Freemius->_fetch_plugin_plans()
    #4 /home/user/public_html/wp-content in /home/user/public_html/wp-content/plugins/nextgen-gallery/freemius/includes/class-freemius.ph
    p on line 18602
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error: Freemius’ is closed to new replies.