Page 1 of 1

Fatal error: Uncaught Error: Undefined constant "MODULE_HEADER_TAGS_O_PAGES"

Posted: Thu Feb 20, 2025 3:10 pm
by Alice263
Hi,

The shop start to do this error after install(and uninstall) Language Module in Navbar section:

Code: Select all

Fatal error: Uncaught Error: Undefined constant "MODULE_HEADER_TAGS_O_PAGES" in /home/g36bxfpl/public_html/store/includes/modules/header_tags/ht_outgoing.php:23 Stack trace: #0 /home/g36bxfpl/public_html/store/includes/system/versioned/1.0.8.4/template.php(76): ht_outgoing->__construct() #1 /home/g36bxfpl/public_html/store/templates/bootstrap5/includes/components/template_top.php(13): Template->build_blocks() #2 /home/g36bxfpl/public_html/store/templates/default/includes/pages/index.php(13): require('/home/g36bxfpl/...') #3 /home/g36bxfpl/public_html/store/index.php(17): require('/home/g36bxfpl/...') #4 {main} thrown in /home/g36bxfpl/public_html/store/includes/modules/header_tags/ht_outgoing.php on line 23
How can I resolve? I have no backups because I have just installed and confugured the store.

Thanks for your help!

Re: Fatal error: Uncaught Error: Undefined constant "MODULE_HEADER_TAGS_O_PAGES"

Posted: Thu Feb 20, 2025 4:18 pm
by burt
This error is telling you that MODULE_HEADER_TAGS_O_PAGES is missing.

This is defined at the following file:
/includes/languages/english/modules/header_tags/ht_outgoing.php

The question to ask yourself;

1. Does this file exist?
2. Is that MODULE_HEADER_TAGS_O_PAGES in there as a "const"
3. Are you using a language other than english?
4. If yes, is that other language fully up to date?