Legacy Smarty Tag Errors

Problem

After upgrading to WHMCS 8.7, you see the following warning in the Admin Area:

Legacy Smarty Tags: The system detected that legacy Smarty tags may be in use and that the Allow Smarty PHP Tags setting is enabled.

The Legacy Smarty Tags warning.

Cause

This warning displays because the system has detected one of the following issues:

  • Theme templates or email templates contain code that WHMCS will not support in the near future.
  • Allow Smarty PHP Tags is enabled in the Security tab at Configuration () > System Settings > General Settings.

Solution

If your customizations include legacy Smarty tags, you must remove them and then disable Allow Smarty PHP Tags.

For steps, see Eliminate Smarty Tags.

Last modified: November 12, 2024