Upgrade Errors/Warnings - fetch_template() - ksort() - foreach() i

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryancooper
    Member
    • Mar 2003
    • 92

    [Forum] Upgrade Errors/Warnings - fetch_template() - ksort() - foreach() i

    I recently upgraded to vb 4.1.7 I disabled the plugin and have no problems. When i re-enable them I get the following error:

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: top_nav in [path]/includes/functions.php on line 4254

    Warning: ksort() expects parameter 1 to be array, null given in [path]/includes/functions.php(7207) : eval()'d code on line 31

    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(7207) : eval()'d code on line 33

    All my plugins are still disabled...
    I realize it is from a plugin but how can I find out what plugin is causing this problem?

    Thanks for any help.
    Ryan
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Originally posted by ryancooper
    I recently upgraded to vb 4.1.7 I disabled the plugin and have no problems. When i re-enable them I get the following error:

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: top_nav in [path]/includes/functions.php on line 4254
    What mod uses a template called "top_nav"

    Originally posted by ryancooper
    Warning: ksort() expects parameter 1 to be array, null given in [path]/includes/functions.php(7207) : eval()'d code on line 31

    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(7207) : eval()'d code on line 33
    And, looking up functions.php, line 7207 is:
    PHP Code:
        // parse PHP include ##################
        
    ($hook vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false
    So, what mod uses the hook locations global_complete?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • ryancooper
      Member
      • Mar 2003
      • 92

      #3
      Lynne,
      Webtemplates uses top_nav. I have since uninstalled web templates but the error is still there?

      So, what mod uses the hook locations global_complete?

      I have no clue on this one? How would i figure that out? All mods are turned off via the cp?

      Thanks

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Go to your Plugin Manager and look at the hook location column for a plugin that uses global_complete

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • ryancooper
          Member
          • Mar 2003
          • 92

          #5
          That did it! Thank you for your help!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...