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

getMenu() should not be called statically

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.5
    • Labels:
      None

      Description

      Several civicrm event registrations failed on us with the following error:
      Non-static method JApplicationCms::getMenu() should not be called statically

      The easy solution is to change:
      $menu = JSite::getMenu();
      to the following:
      $menu = JFactory::getApplication()->getMenu();

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              magnolia61 Richard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: