Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9034 Fixes for many strict PHP warnings.
  3. CRM-9576

The function CRM_Import_DataSource_SQL::buildQuickForm() should be declared static.

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The attached patch resolves the following PHP warning notice:
      Strict warning: Non-static method CRM_Import_DataSource_SQL::buildQuickForm() should not be called statically, assuming $this from incompatible context in eval() (line 1 of /var/www/sites/all/modules/civicrm/CRM/Import/Form/DataSource.php(127) : eval()'d code).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: