Fatal error: Uncaught Error: Call to undefined function add_action() in /var/www/andovercg/staging/wp-content/plugins/ultimate-addons-for-gutenberg/lib/nps-survey/classes/nps-survey-script.php:42
Stack trace:
#0 /var/www/andovercg/staging/wp-content/plugins/ultimate-addons-for-gutenberg/lib/nps-survey/classes/nps-survey-script.php(31): Nps_Survey->__construct()
#1 /var/www/andovercg/staging/wp-content/plugins/ultimate-addons-for-gutenberg/lib/nps-survey/classes/nps-survey-script.php(487): Nps_Survey::get_instance()
#2 {main}
thrown in /var/www/andovercg/staging/wp-content/plugins/ultimate-addons-for-gutenberg/lib/nps-survey/classes/nps-survey-script.php on line 42