PDA

View Full Version : Widget fatal error message


jitsuboy
02-10-2011, 05:25 AM
So I can upload any widgets or edit any for that matter. This is what it says on my ACP > Widget.

Trying to get widgettype class from invalid widgettype '24' on line 270 in /web/guide/GGN7699/public_html/packages/vbcms/types.php
#0 /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php(230): vBCms_Types->getWidgetTypeClass('24')
#1 /web/guide/GGN7699/public_html/vb/collection.php(448): vBCms_Collection_Widget->createItem(Array, 1)
#2 /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php(162): vB_Collection->applyLoad(Resource id #37, 1)
#3 /web/guide/GGN7699/public_html/vb/model.php(348): vBCms_Collection_Widget->applyLoad(Resource id #37, 1)
#4 /web/guide/GGN7699/public_html/vb/model.php(302): vB_Model->loadInfo()
#5 /web/guide/GGN7699/public_html/vb/collection.php(408): vB_Model->Load(false)
#6 /web/guide/GGN7699/public_html/vb/collection.php(843): vB_Collection->Load()
#7 /web/guide/GGN7699/public_html/admincp/cms_admin.php(1837): vB_Collection->valid()
#8 {main}

Fatal error: Trying to get widgettype class from invalid widgettype '24' on line 270 in [path]/packages/vbcms/types.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Trying to get widgettype class from invalid widgettype '24' on line 270 in /web/guide/GGN7699/public_html/packages/vbcms/types.php , /web/guide/GGN7699/public_html/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '24',[] => ,[] => 0,[] => /web/guide/GGN7699/public_html/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 24)),[1] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 3,[title] => Top Poster Of The Month,[description] => ,[widgettypeid] => 24),[1] => 1)),[2] => Array ([file] => /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #37,[1] => 1)),[3] => Array ([file] => /web/guide/GGN7699/public_html/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #37,[1] => 1)),[4] => Array ([file] => /web/guide/GGN7699/public_html/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /web/guide/GGN7699/public_html/admincp/cms_admin.php,[line] => 1837,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ()))),[code] => 256)) #1 trigger_error(Trying to get widgettype class from invalid widgettype '24' on line 270 in /web/guide/GGN7699/public_html/packages/vbcms/types.php , 256) called at [/web/guide/GGN7699/public_html/vb/vb.php:287] #2 vB::handleException(vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '24',[] => ,[] => 0,[] => /web/guide/GGN7699/public_html/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 24)),[1] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 3,[title] => Top Poster Of The Month,[description] => ,[widgettypeid] => 24),[1] => 1)),[2] => Array ([file] => /web/guide/GGN7699/public_html/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #37,[1] => 1)),[3] => Array ([file] => /web/guide/GGN7699/public_html/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #37,[1] => 1)),[4] => Array ([file] => /web/guide/GGN7699/public_html/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /web/guide/GGN7699/public_html/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /web/guide/GGN7699/public_html/admincp/cms_admin.php,[line] => 1837,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ()))))

Any advise??

Thanks in advanced!

pinoypot
02-10-2011, 10:16 AM
I got the same problem. I want to know also how to fix this. Help us guys!

Below is my error.

Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/pinoypot/public_html/packages/vbcms/types.php
#0 /home/pinoypot/public_html/packages/vbcms/collection/widget.php(230): vBCms_Types->getWidgetTypeClass('23')
#1 /home/pinoypot/public_html/vb/collection.php(448): vBCms_Collection_Widget->createItem(Array, 1)
#2 /home/pinoypot/public_html/packages/vbcms/collection/widget.php(162): vB_Collection->applyLoad(Resource id #82, 1)
#3 /home/pinoypot/public_html/vb/model.php(348): vBCms_Collection_Widget->applyLoad(Resource id #82, 1)
#4 /home/pinoypot/public_html/vb/model.php(302): vB_Model->loadInfo()
#5 /home/pinoypot/public_html/vb/collection.php(408): vB_Model->Load(false)
#6 /home/pinoypot/public_html/vb/collection.php(843): vB_Collection->Load()
#7 /home/pinoypot/public_html/admincp/cms_admin.php(1837): vB_Collection->valid()
#8 {main}

Fatal error: Trying to get widgettype class from invalid widgettype '23' on line 270 in [path]/packages/vbcms/types.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/pinoypot/public_html/packages/vbcms/types.php , /home/pinoypot/public_html/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '23',[] => ,[] => 0,[] => /home/pinoypot/public_html/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/pinoypot/public_html/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 23)),[1] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 41,[title] => Top Poster,[description] => Last week's top poster.,[widgettypeid] => 23),[1] => 1)),[2] => Array ([file] => /home/pinoypot/public_html/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #82,[1] => 1)),[3] => Array ([file] => /home/pinoypot/public_html/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #82,[1] => 1)),[4] => Array ([file] => /home/pinoypot/public_html/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/pinoypot/public_html/admincp/cms_admin.php,[line] => 1837,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ()))),[code] => 256)) called at [(null):0] #1 trigger_error(Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/pinoypot/public_html/packages/vbcms/types.php , 256) called at [/home/pinoypot/public_html/vb/vb.php:287] #2 vB::handleException(vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '23',[] => ,[] => 0,[] => /home/pinoypot/public_html/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/pinoypot/public_html/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 23)),[1] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 41,[title] => Top Poster,[description] => Last week's top poster.,[widgettypeid] => 23),[1] => 1)),[2] => Array ([file] => /home/pinoypot/public_html/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #82,[1] => 1)),[3] => Array ([file] => /home/pinoypot/public_html/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #82,[1] => 1)),[4] => Array ([file] => /home/pinoypot/public_html/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/pinoypot/public_html/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/pinoypot/public_html/admincp/cms_admin.php,[line] => 1837,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ())))) called at [(null):0]

Lynne
02-10-2011, 03:43 PM
Did either of you uninstall and then reinstall the CMS? If so, your contenttypes may be messed up and you should put in a ticket and include information for us to take a look at your database.

sick adam
08-29-2011, 09:47 AM
I have this EXACT same issue! Did you guys ever find a fix?

Lynne
08-29-2011, 05:07 PM
It was from uninstalling a product before uninstalling the widgets that they had created using the product.