- the template author has incorrectly used an unquoted value that is generating a warning. PHP is treating it as a constant. Since it's lowercase probably it is some array element that was written sloppily and just needs single-quotes around it.
- then the template author has used a constant that has not been defined. Perhaps it was to be a language string? or maybe a configuration switch? Need to get that added. If CALL_HEADING is supposed to be a title, define it in the template's language file. If it's supposed to be a configuration setting, maybe you didn't install it properly in the template's install SQL?
- they used ereg_replace which was retired years ago in PHP 5.3. Looks like you renamed that to preg_replace but didn't update the syntax of the regex pattern. Try adding start/end '/' symbol. See
https://www.zen-cart.com/entry.php?2...use-on-PHP-5-3
Bookmarks