1.5.8, php 8.1
Is this error due to ultimate seo? Default 1.5.8 files.
Code:
PHP Fatal error: Uncaught Error: Undefined constant "TOPMOST_CATEGORY_PARENT_ID" in /home/xxxxx/public_html/store/includes/functions/functions_categories.php:186
Stack trace:
#0 /home/xxxx/public_html/store/includes/classes/usu.php(903): zen_get_parent_categories(Array, 3)
#1 /home/xxxxx/public_html/store/includes/classes/usu.php(729): usu->get_full_cPath(3, 3)
#2 /home/xxxxx/public_html/store/includes/classes/usu.php(653): usu->get_category_name(3)
#3 /home/xxxxx/public_html/store/includes/classes/usu.php(385): usu->get_product_name(24, NULL)
#4 /home/xxxxx/public_html/store/includes/classes/usu.php(223): usu->parse_parameters('product_info', 'products_id=24', '?')
#5 /home/xxxx/public_html/store/includes/classes/observers/UsuObserver.php(59): usu->href_link('product_info', 'products_id=24', 'NONSSL', true, true, false, true)
#6 /home/xxxxx/public_html/store/includes/classes/traits/NotifierManager.php(87): UsuObserver->update(Object(notifier), 'NOTIFY_SEFU_INT...', Array, NULL, 'product_info', 'products_id=24', 'NONSSL', true, false, true, NULL)
#7 /home/xxxxx/public_html/store/includes/functions/html_output.php(18): base->notify('NOTIFY_SEFU_INT...', Array, NULL, 'product_info', 'products_id=24', 'NONSSL', true, false, true)
#8 /home/xxxxxx/public_html/store/includes/classes/shopping_cart.php(2056): zen_href_link('product_info', 'products_id=24')
#9 /home/xxxxx/public_html/store/includes/main_cart_actions.php(53): shoppingCart->actionBuyNow('shopping_cart', Array)
#10 /home/xxxxx/public_html/store/includes/init_includes/init_cart_handler.php(42): require('/home/humbleabo...')
#11 /home/xxxxx/public_html/store/includes/autoload_func.php(40): require_once('/home/humbleabo...')
#12 /home/xxxxxx/public_html/store/includes/application_top.php(237): require('/home/humbleabo...')
#13 /home/xxxxx/public_html/store/index.php(25): require('/home/humbleabo...')
#14 {main}
thrown in /home/xxxxx/public_html/store/includes/functions/functions_categories.php on line 186.
Bookmarks