Fatal error: Uncaught Error: Call to undefined function add_action() in E:\www\web\wp-content\themes\Divi\includes\builder\feature\global-presets\History.php:31
Stack trace:
#0 E:\www\web\wp-content\themes\Divi\includes\builder\feature\global-presets\History.php(11): ET_Builder_Global_Presets_History->_register_ajax_callbacks()
#1 E:\www\web\wp-content\themes\Divi\includes\builder\feature\global-presets\History.php(24): ET_Builder_Global_Presets_History->__construct()
#2 E:\www\web\wp-content\themes\Divi\includes\builder\feature\global-presets\History.php(350): ET_Builder_Global_Presets_History::instance()
#3 {main}
thrown in E:\www\web\wp-content\themes\Divi\includes\builder\feature\global-presets\History.php on line 31