After Upgrading "functions.php" Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Purple Haze
    Member
    • May 2008
    • 82

    After Upgrading "functions.php" Problem

    Hello,

    I upgrade from 3.7.3 to 3.7.4 and every thing were just fine, at least I thought so, but when go to the user file I got this error at the to of the page (i.e., above of the header.

    and the error is:

    Code:
    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(1394) : eval()'d code on line 3
     
    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(1394) : eval()'d code on line 49
     
    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(1394) : eval()'d code on line 3
     
    Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(1394) : eval()'d code on line 49
    Help please
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Try disabling your modifications and see what happens.
    Note: To temporarily disable the plugin system, 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

    • Purple Haze
      Member
      • May 2008
      • 82

      #3
      that error has disappeared

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        OK, that means the error is caused by one of your modifications. So, you need to get rid of that line in config.php and then turn off all the products individually and then turn them on one-by-one until you get the error and that will tell you which product it is.

        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

        • Purple Haze
          Member
          • May 2008
          • 82

          #5
          I got it, it's the Album Latest Pictures - in the forumhome

          Comment

          • Purple Haze
            Member
            • May 2008
            • 82

            #6
            Thanx 4 helping me, buddy

            Comment

            • Lynne
              Former vBulletin Support
              • Oct 2004
              • 26255

              #7
              No problem. I'm glad you found it!

              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

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