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
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

bennos - October 2, 2009 - 17:50

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

jtsnow - October 2, 2009 - 17:56

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

#3

lennart - October 17, 2009 - 14:53

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

jtsnow - October 19, 2009 - 13:25

It may be because you are not using Views 3.

#5

4vinoth - October 19, 2009 - 13:32

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

jtsnow - October 19, 2009 - 18:36

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

jtsnow - October 20, 2009 - 05:52
Status:active» needs review

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

#8

giorez - November 13, 2009 - 10:18
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

 
 

Drupal is a registered trademark of Dries Buytaert.