I am working on a Joomla 3.10.11 website in preparation for the migration to Joomla 4. My test site is set up locally on a Apache/2.4.55 server. The PHP version is 8.1.12. The database is MySQL version 8.0.33
The site uses the Articles Good Search extension recently upgraded to version 1.2.5 (May 2021).
Even with this late version I receive an Undefined constant 'tag' error at line 31 of /templates/protostar/html/com_content/gsearch_blog.php file. Here's the call stack: