Announcement

Collapse
No announcement yet.

After Upgrading "functions.php" Problem

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

  • 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

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


    • #3
      that error has disappeared

      Comment


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


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

          Comment


          • #6
            Thanx 4 helping me, buddy

            Comment


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