vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Error message - any ideas? (https://vborg.vbsupport.ru/showthread.php?t=315195)

Morrus 11-02-2014 05:13 PM

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?

kh99 11-02-2014 05:32 PM

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.

Morrus 11-02-2014 06:02 PM

Quote:

Originally Posted by kh99 (Post 2521017)
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!

ForceHSS 11-02-2014 06:12 PM

($hook = vBulletinHook::fetch_hook('vbcms_article_populate_ start')) ? eval($hook) : false;
check all plugins being used for cms

Morrus 11-02-2014 06:22 PM

Quote:

Originally Posted by ForceHSS (Post 2521023)
($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?

kh99 11-02-2014 06:53 PM

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.

ForceHSS 11-02-2014 07:26 PM

Quote:

Originally Posted by Morrus (Post 2521025)
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

Morrus 11-02-2014 08:16 PM

Quote:

Originally Posted by kh99 (Post 2521027)
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?

ozzy47 11-02-2014 08:18 PM

vbcms_article_populate_start is the hook location. Disable each one one at a time till you find the culprit.

kh99 11-02-2014 10:48 PM

Quote:

Originally Posted by Morrus (Post 2521035)
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).


All times are GMT. The time now is 10:29 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.01227 seconds
  • Memory Usage 1,737KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete