Closed (fixed)
Project:
Panels
Version:
7.x-3.0-alpha3
Component:
Plugins - layouts
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2010 at 11:54 UTC
Updated:
29 Jan 2012 at 17:46 UTC
I wanted to save a flexible layout that I've already customized so that I can use it on the other pages on my site. After hitting the save button, I get a pop up with the following message:
Unable to complete operation. Fatal error in modules_dir/panels/plugins/layouts/flexible/flexible.inc on line 1741: Call to undefined function ctools_export_crud_load()
Any idea what I might have done wrong during the installation? or anyone else encountered this problem?
Thanks!
Comments
Comment #1
merlinofchaos commentedI haven't heard of that one nor seen it. It could however be masked by difference in configuration.
A highly probable fix is this:
Just prior to the line that it is referencing, can you add this line:
(Not with the PHP tags)
Comment #2
shane.oliver commentedmerlinofchaos, that worked!
Thanks!
Any reason why I need to add that snippet of code for it to work?
Comment #3
merlinofchaos commentedThe function exists in ctools/includes/export.inc and that file needs to be included in order to be used.
It's possible that in all my tests, some other code path had already included it so I never crashed because it hadn't been, and your setup doesn't have something else causing it. I'll have to fix the code for this.
Comment #4
merlinofchaos commentedComment #5
arnold_mad commentedalso have that issue.
Comment #7
afeijoThis problem just happened to be, into the line 1793 of the same file
I added the suggested code, and it worked
Using drupal 7.7, views 3.0-rc1
Comment #8
Letharion commentedComment #9
suntog commentedThanks for the help, I foolishly left in the php tags and gasped at the errors, then I read you "not with php tags" note. As a further note, you can find your saved panel under "Misc" in the Panel layouts -> Category Dropdown. Thanks you saved me hours of work.
Comment #10
merlinofchaos commentedNote that the above line of code is actually in the version you specified, so I'm a little surprised that this hit you at all.