vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Widget fatal error message (https://vborg.vbsupport.ru/showthread.php?t=258636)

jitsuboy 02-10-2011 05:25 AM

Widget fatal error message
 
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.


All times are GMT. The time now is 06:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02252 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete