• I am getting this error on my wordpress install. Not sure what went wrong.

    Fatal error: Uncaught Error: Call to undefined function current_time() in /var/www/html/wp-includes/functions.php:2416 Stack trace: #0 /var/www/html/wp-includes/functions.php(2275): _wp_upload_dir() #1 /var/www/html/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription.php(29): wp_upload_dir() #2 /var/www/html/wp-includes/class-wp-hook.php(287): ass_loader() #3 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #4 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action() #5 /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(33): do_action() #6 /var/www/html/wp-includes/class-wp-hook.php(287): bp_include() #7 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #8 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action() #9 /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(318): do_action() #10 /var/www/html/wp-includes/class-wp-hook.php(287): bp_loaded() #11 /var/www/html/wp-includes/class-w in /var/www/html/wp-includes/functions.php on line 2416
    There has been a critical error on your website.
Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    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, enable debugging. See: https://www.ads-software.com/support/article/debugging-in-wordpress/

    You can also try:
    manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
    – If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function current_time()’ is closed to new replies.