It’s just a warning.
PHP 8 issues a warning when the code tries to access a key in an array that doesn’t exist.
In this case the code tries to read the request parameter q → $_REQUEST['q'].
The parameter q is usually set in the .htaccess file:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
When friendly URLs are used, this parameter allows the code to find the requested page.