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

Comments

bennos’s picture

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.

jtsnow’s picture

Thanks for pointing this out. I think I have fixed it. Let me know if you have problems with the next dev snapshot.

lennart’s picture

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

jtsnow’s picture

It may be because you are not using Views 3.

vinoth.3v’s picture

Sorry,

what you mean by Views 3?

only views 6.x-2.6 is out!!! and there is only 6.x-2.x-dev.

jtsnow’s picture

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.

jtsnow’s picture

Status: Active » Needs review

I've just committed a fix for this. Thanks for the bug report and being patient!

Anonymous’s picture

Title: Class 'views_plugin_display_attachment' not found in embed_widgets_plugin_display_embed_widgets.inc on line 15 » class not found in embed_widgets.module on line 331

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