Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP) in /srv/users/serverpilot/apps/essaysoon/public/zwp-upzdy on line 1

Fatal error: Uncaught Error: Call to undefined function register_widget() in /srv/users/serverpilot/apps/essaysoon/public/wp-includes/widgets.php:1722 Stack trace: #0 /srv/users/serverpilot/apps/essaysoon/public/wp-includes/class-wp-hook.php(287): wp_widgets_init('') #1 /srv/users/serverpilot/apps/essaysoon/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /srv/users/serverpilot/apps/essaysoon/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /srv/users/serverpilot/apps/essaysoon/public/wp-settings.php(546): do_action('init') #4 /srv/users/serverpilot/apps/essaysoon/public/wp-config.php(90): require_once('/srv/users/serv...') #5 /srv/users/serverpilot/apps/essaysoon/public/wp-load.php(37): require_once('/srv/users/serv...') #6 /srv/users/serverpilot/apps/essaysoon/public/wp-blog-header.php(13): require_once('/srv/users/serv...') #7 /srv/users/serverpilot/apps/essaysoon/public/index.php(23): require('/srv/users/serv...') #8 {main} thrown in /srv/users/serverpilot/apps/essaysoon/public/wp-includes/widgets.php on line 1722