Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 12-12-2010, 01:32 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cannot List Widgets In Admin CP

For some unknown reason,this started happening today: I cannot add, delete, list or edit widgets. Any assist would be appreciated:

Quote:
Trying to get widgettype class from invalid widgettype '24' on line 270 in /home/xxh/public_html/forums/packages/vbcms/types.php
#0 /home/xx/public_html/forums/packages/vbcms/collection/widget.php(230): vBCms_Types->getWidgetTypeClass('24')
#1 /home/xx/public_html/forums/vb/collection.php(448): vBCms_Collection_Widget->createItem(Array, 1)
#2 /home/xx/public_html/forums/packages/vbcms/collection/widget.php(162): vB_Collection->applyLoad(Resource id #35, 1)
#3 /homexx/public_html/forums/vb/model.php(348): vBCms_Collection_Widget->applyLoad(Resource id #35, 1)
#4 /home/xx/public_html/forums/vb/model.php(302): vB_Model->loadInfo()
#5 /home/xx/public_html/forums/vb/collection.php(408): vB_Model->Load(false)
#6 /home/xx/public_html/forums/vb/collection.php(843): vB_Collection->Load()
#7 /home/xx/public_html/forums/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 /home/xx/public_html/forums/packages/vbcms/types.php , /home/xx/public_html/forums/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '24',[] => ,[] => 0,[] => /home/xx/public_html/forums/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/xx/public_html/forums/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 24)),[1] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 53,[title] => vBGaMez,[description] => ,[widgettypeid] => 24),[1] => 1)),[2] => Array ([file] => /home/xx/public_html/forums/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #35,[1] => 1)),[3] => Array ([file] => /home/xx/public_html/forums/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #35,[1] => 1)),[4] => Array ([file] => /home/xx/public_html/forums/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/xx/public_html/forums/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 '24' on line 270 in /home/xx/public_html/forums/packages/vbcms/types.php , 256) called at [/home/vxx/public_html/forums/vb/vb.php:287] #2 vB::handleException(vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '24',[] => ,[] => 0,[] => /home/xx/public_html/forums/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/xx/public_html/forums/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 24)),[1] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 53,[title] => vBGaMez,[description] => ,[widgettypeid] => 24),[1] => 1)),[2] => Array ([file] => /home/xx/public_html/forums/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #35,[1] => 1)),[3] => Array ([file] => /home/xx/public_html/forums/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #35,[1] => 1)),[4] => Array ([file] => /home/xx/public_html/forums/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/xx/public_html/forums/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/xx/public_html/forums/admincp/cms_admin.php,[line] => 1837,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ())))) called at [(null):0]
--------------- Added [DATE]1292172532[/DATE] at [TIME]1292172532[/TIME] ---------------

Update: Found VBGamez widget was left when uninstalled. Took out the record and works great.
Reply With Quote
  #2  
Old 12-12-2010, 05:02 PM
Weetabix Weetabix is offline
 
Join Date: Feb 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had that, make a backup of your database (just in case), then manually remove the offending widget type from the database.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:18 PM.


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.03685 seconds
  • Memory Usage 2,178KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete