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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!