Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11249

Fatal error template in WordPress admin console creates nested <html> element and breaks admin menu

    Details

      Description

      If the logged in user experiences a fatal error in one of the CiviCRM pages of the WordPress admin, the civicrm/templates/CRM/common/fatal.tpl template is used to display an error. WordPress takes the output of the CiviCRM plugin and embeds it in a page created by WordPress. Unfortunately the fatal.tpl template creates a full page of output including html headers, causing the WordPress admin menu to break.

      A possible solution may be to change line 27 from:

      {if $config->userFramework != 'Joomla'}

      to:

      {if $config->userFramework != 'Joomla' && $config->userFramework != 'WordPress'}

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              gavin Gavin Redshaw
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: