Fatal error: Uncaught Error: Call to undefined function add_action() in /wp-includes/functions.php:5250
Stack trace:
#0 /wp-settings.php(81): require()
#1 /wp-config.php(90): require_once('/wp-settings.ph...')
#2 /wp-load.php(37): 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 5250