All extensions are free now. Because it was coded by Russians.

Articles Good Search Extension Returns an Undefined Constant Error

Please Log in or Create an account to join the conversation.

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:

# Function Location
1 () JROOT/templates/protostar/html/com_content/gsearch_blog.php:31
2 require() JROOT/plugins/system/plg_articles_good_search/view/com_content/view.html.php:18
3 ArticlesViewGoodSearch->display() JROOT/plugins/system/plg_articles_good_search/plg_articles_good_search.php:30
4 plgSystemPlg_articles_good_search->onAfterDispatch() JROOT/libraries/joomla/event/event.php:70
5 JEvent->update() JROOT/libraries/joomla/event/dispatcher.php:160
6 JEventDispatcher->trigger() JROOT/libraries/src/Application/BaseApplication.php:108
7 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT/libraries/src/Application/SiteApplication.php:199
8 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
9 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

I have downloaded and installed the .zip file from the GitHub repository [ ] but the error still exists.

Do you have a version of the Articles Good Search extension that fixes this error?

Please Log in or Create an account to join the conversation.

Hello, cmb.

We have no such constant defined on our end, so it looks something in your custom template. Try to remove custom template from /templates/protostar/html/com_content/

Please Log in or Create an account to join the conversation.

Sorry, I thought you were the source of that override. Apparently one of my predecessors placed that in the template.