Fatal error: Uncaught Error: Call to undefined function add_action() in /wp-includes/functions.php:4987
Stack trace:
#0 /wp-settings.php(72): require()
#1 /wp-config.php(85): require_once('/wp-settings.ph...')
#2 /wp-load.php(29): require_once('/wp-config.php')
#3 /wp-blog-header.php(12): require_once('/wp-load.php')
#4 /index.php(17): require('/wp-blog-header...')
#5 {main}
thrown in /wp-includes/functions.php on line 4987