• When I went to this website, this is the error message. Please advise what we should do to get the website up and running again:

    Deprecated: Function create_function() is deprecated in /var/www/wp-content/plugins/essential-grid/essential-grid.php on line 98
    
    Deprecated: Function create_function() is deprecated in /var/www/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
    
    Warning: Creating default object from empty value in /var/www/wp-content/themes/church-suite/inc/theme-options/ReduxCore/inc/class.redux_filesystem.php on line 29
    
    Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/church-suite/inc/widgets/woocommerce-header-cart.php on line 58
    
    Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
    #header {padding-top:20px;} #header {padding-bottom:20px;}
    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/wp-content/themes/church-suite/inc/dynamicfiles/dyncss.php:51 Stack trace: #0 /var/www/wp-content/themes/church-suite/functions.php(275): include_once() #1 /var/www/wp-includes/class-wp-hook.php(307): webnus_script_loader('') #2 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /var/www/wp-includes/script-loader.php(2156): do_action('wp_enqueue_scri...') #5 /var/www/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('') #6 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #8 /var/www/wp-includes/general-template.php(3042): do_action('wp_head') #9 /var/www/wp-content/themes/church-suite/header.php(52): wp_head() #10 /var/www/wp-includes/template.php(770): require_once('/var/www/wp-con...') #11 /var/www/wp-includes/template.php(716): load_template in /var/www/wp-content/themes/church-suite/inc/dynamicfiles/dyncss.php on line 51
    There has been a critical error on this website.
    
    Learn more about troubleshooting WordPress.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    These are only warnings and notices. That level of debug should not be enabled on a production site. Look in the file wp-config.php, in the root of the site. Find the line for WP_DEBUG and change “true” to “false”.

    This, however, is the actual problem:

    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/wp-content/themes/church-suite/inc/dynamicfiles/dyncss.php:51 Stack trace: #0 /var/www/wp-content/themes/church-suite/functions.php(275): include_once() #1 /var/www/wp-includes/class-wp-hook.php(307): webnus_script_loader('') #2 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /var/www/wp-includes/script-loader.php(2156): do_action('wp_enqueue_scri...') #5 /var/www/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('') #6 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #8 /var/www/wp-includes/general-template.php(3042): do_action('wp_head') #9 /var/www/wp-content/themes/church-suite/header.php(52): wp_head() #10 /var/www/wp-includes/template.php(770): require_once('/var/www/wp-con...') #11 /var/www/wp-includes/template.php(716): load_template in /var/www/wp-content/themes/church-suite/inc/dynamicfiles/dyncss.php on line 51
    There has been a critical error on this website.

    This indicates a problem in your site’s theme.

    You’re using a commercial/premium theme, so please use their official support channel. We feel they are best equipped to support their products.

    https://support.webnus.net/support/home

    Commercial products are not supported in these forums.

    Dion

    (@diondesigns)

    FWIW, PHP warnings are serious and should be addressed. That’s why they are always enabled in WordPress unless a plugin (foolishly) disables them.

    Code that results in a PHP warning will oftentimes cause a fatal error later on…and that may very well be the case above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.