Getting an error script at top of dashboard

I have uninstalled local twice now as well as uninstalling from VirtualBox and initiating local from scratch but I am constantly getting this error at the top
constant REQUEST_URI - assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /app/public/wp-content/themes/twentynineteen/functions.php on line 73

This seems to be an warning from the Twenty Nineteen theme. Reporting this on the theme’s forum would be helpful. Switching to another theme will likely remove this warning.

1 Like

Hey @developmentchef, I just wanted to echo what @afragen mentioned as well as suggest that you might be interested in hiding those errors. If so, you can add this to your site’s wp-config.php file:

@ini_set( 'display_errors', 0 );

This will prevent the normal PHP error output to the browser. You can find this info in the Local site folder /logs/ folder

You can also install and set it in the settings.

1 Like