Fatal error: Uncaught Error: Undefined constant "MODULE_HEADER_TAGS_O_PAGES"

Open to all! Ask other shopowners for help.
Post Reply
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:

Fatal error: Uncaught Error: Undefined constant "MODULE_HEADER_TAGS_O_PAGES"

Post 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!

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

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

Post 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?
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply