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

Remove static function warning from 4.6 -> 4.7 upgrade

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.11
    • Fix Version/s: 4.7.12
    • Component/s: Core CiviCRM
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      This is minor... but all of these notices sometimes make it harder to find real problems.

      Here's a sample output:

      CRM_Upgrade_Incremental_php_FourSeven::addCombinedIndexFinancialItemEntityIDEntityType()
      should not be called statically Task.php:88
      call_user_func_array() expects parameter 1 to be a valid callback, [notice]
      non-static method
      CRM_Upgrade_Incremental_php_FourSeven::addRefundAndChargeBackAccountsIfNotExist()
      should not be called statically Task.php:88
      call_user_func_array() expects parameter 1 to be a valid callback, [notice]
      non-static method
      CRM_Upgrade_Incremental_php_FourSeven::addIndexContributionSource()
      should not be called statically Task.php:88
      call_user_func_array() expects parameter 1 to be a valid callback, [notice]
      non-static method
      CRM_Upgrade_Incremental_php_FourSeven::addIndexContributionAmount()
      should not be called statically Task.php:88
      call_user_func_array() expects parameter 1 to be a valid callback, [notice]
      non-static method
      CRM_Upgrade_Incremental_php_FourSeven::addDeletedByMergeActivityType()
      should not be called statically Task.php:88
      call_user_func_array() expects parameter 1 to be a valid callback, [notice]
      non-static method
      CRM_Upgrade_Incremental_php_FourSeven::upgradeMailingFKs() should not
      be called statically Task.php:88

        Attachments

          Activity

            People

            • Assignee:
              seamuslee Seamus Lee
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: