Follow-up to #1564456: Provide support for Page manager, Panels, and Panelizer

After editing a file (redirect to default page view) I got following error:

Fatal error: Call to undefined function file_entity_view_page() in file_entity/plugins/tasks/file_view.inc on line 109

Comments

osopolar created an issue. See original summary.

osopolar’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new369 bytes

The file file_entity.pages.inc needs to be included before the function file_entity_view_page() could be called.

drupov’s picture

Patch from #2 works for me. Thanks!

morgo’s picture

Fatal error: Call to undefined function file_entity_access() in /home/egypttrip/public_html/sites/all/modules/media/includes/MediaBrowserUpload.inc on line 18
i have this error now, everything was working just fine, but now when i tried to upload photo, this error came out!
need help please

osopolar’s picture

@morgo: Are you sure that the error you got is related to this issue or caused by the patch in #2?

joachim namyslo’s picture

#2 doesn't solve it

becw’s picture

I ran into the original error (Call to undefined function file_entity_view_page()) after enabling the file_view panels page. The error doesn't appear on the first page load after cache clear, and after that appears on every page load.

The patch from #2 fixes this issue for me.

promes’s picture

Patch #2 solved our error. Thanks.

osopolar’s picture

@morgo, @becw and @dinmikkith: Where you able to figure out why the patch was not working for you and have you solved the problem?

joachim namyslo’s picture

meanwhile I bet it works. Had the same error with the last panoply release. They patched that on git hub in the d7 version of panoooly. If you take a look at there git hub repo you may be able to check I'd they use the Dev or the stable version of this. perhaps they patched this some were in the repo as well.

Sorry this was my fault. Again I didn't test the module on a vanilla install. For me it was a panoooly issue that seems to be fixed now.

alexverb’s picture

Patch works for me. Exact situation as #7.

programeta’s picture

Patch also works for me. Thanks!

froboy’s picture

Status: Needs review » Reviewed & tested by the community

Patch also works for me. Seems like enough to make this RTBC.

  • Dave Reid committed 08e74fb on 7.x-2.x authored by osopolar
    Issue #2569679 by osopolar: Fixed fatal error when using the file_view...
dave reid’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -file_entity

Committed to 7.x-2.x. Thanks all.

Status: Fixed » Closed (fixed)

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

sp_key’s picture

Apologies, this issue has not been fixed for me.
Can you please confirm which version I need to download to not get the above issue.

I've first tried 7.x-2.13. I then tried 7.x-2.x-dev
Both above versions return the same error

Cheers

joseph.olstad’s picture