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

Joomla: Trying to get property of non-object in CRM/Core/Permission/Joomla.php

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      If I install CiviCRM-Joomla with the current STABLE (4.7.25), RC (4.7.26-rc), or NIGHTLY (4.7.27) zip file from http://download.civicrm.org/latest , then it displays a number of number warnings like this:

      Notice: Trying to get property of non-object in /home/me/buildkit/build/hydra-joomla/administrator/components/com_civicrm/civicrm/CRM/Core/Permission/Joomla.php on line 185

      29 5.8824 9394024 civicrm_api3_system_flush( ) ../MagicFunctionProvider.php:89
      30 5.8857 9401632 CRM_Core_Invoke::rebuildMenuAndCaches( ) ../System.php:50
      31 7.4003 12184736 CRM_Core_Config->cleanupPermissions( ) ../Invoke.php:377
      32 7.4104 12363136 CRM_Core_Permission_Joomla->upgradePermissions( ) ../Config.php:314
      33 7.4117 12380192 CRM_Core_Permission_Joomla->getUserGroupPermsAssociations( ) ../Joomla.php:152

      (More complete: https://gist.github.com/totten/ab672b787c0ae223c855bcd5c743ce58 )

       

      Environment:

       * Joomla 3.6.5

       * MAMP 3.x

       * PHP 5.6.10

       * MySQL 5.5.42

       

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m