Website Down

Hi,

I don't know what I did, but my website is now down. It is a multisite on Digital ocean. The other sites on that Multisite Network are available.

Please could you help with this?

Thanks,
Gaurav

  • Ash

    Hello rampal

    There is an error generated, that's why the site is not working. Would you please enable debug mode and check if there is any error? To enable debug mode please go to wp-config.php and change

    define( 'WP_DEBUG', false );

    to

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    Now refresh the site in browser. That will create a file called debug.log inside wp-content folder. Open that file, check the very bottom and you will see the latest errors. Please send me those.

    Have a nice day!

    Cheers,
    Ash

  • rampal

    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/cart.php on line 81
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/categories.php on line 88
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/product-list.php on line 259
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/product-tag-cloud.php on line 63
    [27-Nov-2018 19:21:19 UTC] PHP Notice: Undefined index: nextgen-gallery in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 13033
    [27-Nov-2018 19:21:19 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 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 18483 and defined in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php:18497
    Stack trace:
    #0 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(18483): Freemius->get_api_user_scope_by_user(false)
    #1 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(18519): Freemius->get_api_user_scope(false)
    #2 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(15935): Freemius->get_current_or_network_user_api_scope()
    #3 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(9388): Freemius->_fetch_plugin_plans()
    #4 /var/www/html/wp-content/plugin in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 18497
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/cart.php on line 81
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/categories.php on line 88
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/product-list.php on line 259
    [27-Nov-2018 19:21:19 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/marketpress/includes/admin/widgets/product-tag-cloud.php on line 63
    [27-Nov-2018 19:21:19 UTC] PHP Notice: Undefined index: nextgen-gallery in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 13033
    [27-Nov-2018 19:21:19 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 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 18483 and defined in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php:18497
    Stack trace:
    #0 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(18483): Freemius->get_api_user_scope_by_user(false)
    #1 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(18519): Freemius->get_api_user_scope(false)
    #2 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(15935): Freemius->get_current_or_network_user_api_scope()
    #3 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php(9388): Freemius->_fetch_plugin_plans()
    #4 /var/www/html/wp-content/plugin in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 18497

  • Ash

    Hello rampal

    Yes this is the error which makes the website down:

    [27-Nov-2018 19:21:19 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 /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php on line 18483 and defined in /var/www/html/wp-content/plugins/buddyforms/includes/resources/freemius/includes/class-freemius.php:18497

    So it's from buddyforms plugin. Glad to know you figured it out and disabled it. You may want to inform the plugin support as well.

    Have a nice day!

    Cheers,
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.