This is caused during installation since commons activity page submodule provides a panel display, but doesn't declare panels as a dependency.

Comments

jhedstrom’s picture

Status: Active » Needs review
StatusFileSize
new744 bytes

This patch resolves the issue in local testing.

jhedstrom’s picture

Oops, last patch had some line-ending garbage.

ezra-g’s picture

Issue tags: +Commons 7.x-3.1 radar

Thanks, jhedstrom! Moving over to the main Commons queue and tagging for review before our upcoming 3.1 release.

jhedstrom’s picture

Third time's a charm...typo in the first two.

jhedstrom’s picture

Project: Commons Activity Streams » Drupal Commons
Version: 7.x-3.x-dev »
Issue tags: +Commons 7.x-3.1 radar

Re-tagging due to cross post

ezra-g’s picture

Status: Needs review » Fixed

Thanks, jhedstrom!

Since the Activity page uses Panels_IPE, we actually want to include that as well. I added both Panels and Panels_IPE to the info file and committed.

Committed!

http://drupalcode.org/project/commons_activity_streams.git/commit/c40310a

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bwoods02138’s picture

Version: » 7.x-3.2
Status: Closed (fixed) » Active

Hi All,

I'm getting the "Fatal error: Class 'panels_display' not found" error, but it's located at "/commons_events.pages_default.inc on line 45".

I got the error when I tried to enable the "Commons User Profile Pages" module. So now anything I click on takes me straight to this error message:

Fatal error: Class 'panels_display' not found ...modules/contrib/commons_events/commons_events.pages_default.inc on line 45

Please advise ( i.e., explicitly outline each step necessary to resolve problem).

japerry’s picture

Status: Active » Postponed (maintainer needs more info)

Usually this problem occurs when modules move folders that they were in. I'd suggest trying registry rebuild, which you can download and execute as a drush command or via CLI php. If that doesn't work, you can try finding the class entry in the registry table of the database and verifying the filepath it refers to exists.

ezra-g’s picture

I got the error when I tried to enable the "Commons User Profile Pages" module. So now anything I click on takes me straight to this error message:

A) Do you get this error when enabling other Commons landing page modules?

B) Related to #9, have you moved any of the locations of modules in your system from one place to another?

C) Can you confirm that the Panels module is enabled?

bwoods02138’s picture

So, post 9 was a bit over my head, but I deleted the "Commons User Profile Pages" module and started over. After reinstalling it the error went away. I did have panels enabled, but the error didn't occur with the other Commons landing page modules. Regarding Panels, but I'm not sure if it's related the commons modules, I do get the following error when I go to Panels > User profile template > Edit >User profile> Content

Trying to get property of non-object in ctools_token_content_type_admin_title...ctools/plugins/content_types/token/token.inc

lsolesen’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing old issues. Please enlighten the community if you solved your question or reopen if it is still a problem.