Error when upgrading to 4.0.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Flexsim
    New Member
    • Aug 2007
    • 10

    [Forum] Error when upgrading to 4.0.2

    I get the following errors when I upgrade my software. How do I fix the problems?

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

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1146) : eval()'d code on line 4

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 3934
  • Biker
    Senior Member
    • Oct 2003
    • 1261
    • 4.0.0

    #2
    You need to disable ALL plugins prior to upgrading from 3.x to 4.x.
    I drank WHAT?! - Socrates

    Comment

    • Flexsim
      New Member
      • Aug 2007
      • 10

      #3
      Now that I have done it how do I get back to disable them?

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Edit config.php and add this line right under <?php

        PHP Code:
        define('DISABLE_HOOKS'true); 

        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 &lt;- awesome site for html/css help

        Comment

        • Flexsim
          New Member
          • Aug 2007
          • 10

          #5
          Thank you! That solve the problem!

          Comment

          • mofeu
            New Member
            • Oct 2007
            • 16
            • 3.6.x

            #6
            Originally posted by Lynne
            Edit config.php and add this line right under <?php

            PHP Code:
            define('DISABLE_HOOKS'true); 
            But then disappear the blog and the home page

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              You need to remove your custom plugins that are not part of the software, or upgrade them to be compatable.

              Comment

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