Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.1.2
-
Fix Version/s: Unscheduled
-
Component/s: CiviCase, CiviContribute, CiviCRM Profile, CiviCRM Search, CiviEvent, CiviGrant, CiviMail, CiviMember, CiviPledge, CiviReport, Core CiviCRM
-
Labels:None
Description
While running CiviCRM, every single page load produces dozens of PHP warnings, mostly due to unassigned variables or invalid array indexes. This is particularly troublesome in Drupal, where the default error-handler logs each error to the database, thus turning every single page load a write-intensive operation.
The attached patch affects all templates within the civicrm/templates/CRM directory tree, replacing
<code>
</code>, and its semantic equivalents, with
<code>
</code>