Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2014, 05:13 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error message - any ideas?

I'm hoping this is something simple. This error occurs when clicking in a CMS category or article author using vBulletin 4.2.2. My Google-fu failed me!

Quote:
Call to a member function isSection() on a non-object in /var/www/virtual/enworld/forum/packages/vbcms/content/article.php(460) : eval()'d code on line 3
Is this something I can easily fix?
Reply With Quote
  #2  
Old 11-02-2014, 05:32 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like it's coming from an add-on product. If you can figure out which one it is, you should ask in the thread for that mod. You can try turning off products one at a time, but you might be able to guess which one it is, if you have someting installed that has to do with cms articles.
Reply With Quote
  #3  
Old 11-02-2014, 06:02 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
It looks like it's coming from an add-on product. If you can figure out which one it is, you should ask in the thread for that mod. You can try turning off products one at a time, but you might be able to guess which one it is, if you have someting installed that has to do with cms articles.
Sadly, the whole "turn off products" advice doesn't work for a busy site which relies on them (and we have many, many mods - which could be the problem!)

I was hoping there was an obvious thing in the error message (I don't speak code) that I could fix. Hoping I don't have to pay someone to diagnose and fix it!
Reply With Quote
  #4  
Old 11-02-2014, 06:12 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

($hook = vBulletinHook::fetch_hook('vbcms_article_populate_ start')) ? eval($hook) : false;
check all plugins being used for cms
Reply With Quote
  #5  
Old 11-02-2014, 06:22 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
($hook = vBulletinHook::fetch_hook('vbcms_article_populate_ start')) ? eval($hook) : false;
check all plugins being used for cms
I don't know what that means. Would you be so kind as to explain?
Reply With Quote
  #6  
Old 11-02-2014, 06:53 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to the Plugin Manager, you can look at the Hook Location column and look for a plugin using that hook. You can also sort by hook by clicking on Hook Location.
Reply With Quote
  #7  
Old 11-02-2014, 07:26 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
I don't know what that means. Would you be so kind as to explain?
Sorry I should of explained I forget sometimes not everyone knows all about vbulletin. Do what kh99 said
Reply With Quote
  #8  
Old 11-02-2014, 08:16 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you go to the Plugin Manager, you can look at the Hook Location column and look for a plugin using that hook. You can also sort by hook by clicking on Hook Location.
Using what hook? The word doesn't mean anything to me.

And assuming I am able to look a list of plugins and determine they are using said hook, what do I do about that?
Reply With Quote
  #9  
Old 11-02-2014, 08:18 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbcms_article_populate_start is the hook location. Disable each one one at a time till you find the culprit.
Reply With Quote
  #10  
Old 11-02-2014, 10:48 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
Using what hook? The word doesn't mean anything to me.
As mentioned above, vbcms_article_populate_start.

Quote:
And assuming I am able to look a list of plugins and determine they are using said hook, what do I do about that?
Hopefully it will tell you which product is causing the error message. The message is coming from a plugin using that hook location, so if there happens to be only one plugin using that hook, then you'll know. Then you can ask in the thread for that product (assuming it's a prouct you downloaded from here).

Otherwise we don't know how to help you (unless someone else happens to recognize the error).
Reply With Quote
Reply


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 09:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06018 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete