Announcement

Collapse
No announcement yet.

Error when upgrading to 4.0.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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

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

    Comment


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

      Comment


      • #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


        • #5
          Thank you! That solve the problem!

          Comment


          • #6
            Originally posted by Lynne View Post
            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


            • #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...
              X