Answers.Body: <p>I can see that the <code>getAllPermissions()</code> method is present, so if you're getting a "call to undefined method" error you very likely have either an extension or a customization that's overriding the file <code>&lt;civiroot&gt;/CRM/Event/BAO/Event.php</code>.  </p>
  
  <p>Turn on debugging and backtrace (<strong>Administer menu » System Settings » Debugging and Error Handling</strong>) and this error should become much more detailed.  If you're not sure how to interpret the backtrace to find your customizations, you can edit your question to include the backtrace and someone will likely be able to help.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-12T12:07:45.020Z
Answers.Text: I've done that (thanks, I didnt know that's possible). But still, nothing changed in the error message. I added also these:
  
  &backtrace=1&smartyDebug=1
  
  and still I only get the 1-line error message.
  
  I also removed all my extensions, and disabled the only 2 that are left (CiviDiscount and CiviRules), and nothing helped.
  
  Any other idea?
Answers.UserDisplayName: Elad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-12T15:36:51.640Z
Answers.Text: @Elad Check the file I mention in my answer above; does it have the `getAllPermissions()` function?  Is it possible that somehow (perhaps due to file permissions) not all the files were replaced when you upgraded?
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-13T15:10:40.923Z
Answers.Text: Hey, I was somehow sure that I didn't have a customization in that area, but I did. Event.php was overridden by a customization. Thank you!
Answers.UserDisplayName: Elad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-11T15:37:19.943Z
Answers.LastActivityDate: 2019-02-11T15:37:19.943Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am running Civi on Drupal.
  After upgrading from 5.4.0 to 5.10.0
  I go to Manage Events page and get this:</p>
  
  <p>Fatal error: Call to undefined method CRM_Event_BAO_Event::getAllPermissions() in /home/tamera/www/dev/sites/all/modules/civicrm/CRM/Event/Page/ManageEvent.php on line 339</p>
  
  <p>Any ideas?</p>
  
Tags: <error><5.10.x>
Title: Manage Events fatal error after upgrading from 5.4 to 5.10
ThreadText: # Manage Events fatal error after upgrading from 5.4 to 5.10
  
  (Asked by: username_0 on 2019-02-11)
  
  I am running Civi on Drupal.
  After upgrading from 5.4.0 to 5.10.0
  I go to Manage Events page and get this:
  
  Fatal error: Call to undefined method CRM\_Event\_BAO\_Event::getAllPermissions() in /home/tamera/www/dev/sites/all/modules/civicrm/CRM/Event/Page/ManageEvent.php on line 339
  
  Any ideas?
  
  **Tags:** error, 5.10.x
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-02-11. Score: 3 | Accepted answer
  
  I can see that the `getAllPermissions()` method is present, so if you're getting a "call to undefined method" error you very likely have either an extension or a customization that's overriding the file `/CRM/Event/BAO/Event.php`.
  
  Turn on debugging and backtrace (**Administer menu » System Settings » Debugging and Error Handling**) and this error should become much more detailed. If you're not sure how to interpret the backtrace to find your customizations, you can edit your question to include the backtrace and someone will likely be able to help.
  
  > **Comments:**
  > **username_0**: I've done that (thanks, I didnt know that's possible). But still, nothing changed in the error message. I added also these:  &backtrace=1&smartyDebug=1  and still I only get the 1-line error message.  I also removed all my extensions, and disabled the only 2 that are left (CiviDiscount and CiviRules), and nothing helped.  Any other idea?  
  > **username_1**: @username_0 Check the file I mention in my answer above; does it have the `getAllPermissions()` function?  Is it possible that somehow (perhaps due to file permissions) not all the files were replaced when you upgraded?  
  > **username_0**: Hey, I was somehow sure that I didn't have a customization in that area, but I did. Event.php was overridden by a customization. Thank you!  
  
  ---
  
  