class not found in embed_widgets.module on line 331
4vinoth - September 29, 2009 - 07:19
| Project: | Embed widgets |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
HI
I am using latest dev 2 version.
while adding view display i got this error
Fatal error: Class 'views_plugin_display_attachment' not found in /embed_widgets/views/embed_widgets_plugin_display_embed_widgets.inc on line 15

#1
i think the work on the views plugin are not complete. As this is the dev version it is not realy a bug.
It looks like a hook is missing.
#2
Thanks for pointing this out. I think I have fixed it. Let me know if you have problems with the next dev snapshot.
#3
Well, it seems to moved two lines up. Now the error is:
Fatal error: Class 'views_plugin_display_attachment' not found in /var/www/drupal/sites/all/modules/embed_widgets/views/embed_widgets_plugin_display_embed_widgets.inc on line 13
#4
It may be because you are not using Views 3.
#5
Sorry,
what you mean by Views 3?
only views 6.x-2.6 is out!!! and there is only 6.x-2.x-dev.
#6
Embed widgets does not require Views 3. Sorry, I got confused with another module I'm developing that does require Views 3. I will look into a solution for this bug.
Views 3 is currently in developement. It allows you to query things besides the database (Apache Solr, for example). You can check it out using CVS.
#7
I've just committed a fix for this. Thanks for the bug report and being patient!
#8
Fatal error: Class 'embed_widget' not found in /sites/all/modules/embed_widgets/embed_widgets.module on line 331
By the way, I'm using Views3
UPDATE: sorry I accidentally changed the issue title