Announcement

Collapse
No announcement yet.

error in functions.php

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

  • error in functions.php

    Hello.

    Some of our members have a problem to put a answer in one specified category.

    They get the following error "Division by zero in /includes/functions.php(5166) : eval()'d code in line 28"

    How can I repair this error.

    Many thanks.

    Robert

  • #2
    That is from one of your plugins. That line is for the global_complete hook location:

    Code:
    		($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
    Try disabling your plugins:

    Admin CP -> vBulletin Options -> Plugin/Hook System

    Comment


    • #3
      error in functions.php

      Hello Jake.

      Thanks for you reply.

      From our 18,000 members only 3 members have this error.

      If it is a general mistake , everyone should have.

      Or am mistaken myself ?

      Many thanks

      Robert

      Comment


      • #4
        Not necessarily. There is no question that this is an error with one of your plugins. Maybe the error is sensitive to some user information.

        Comment


        • #5
          Originally posted by Jake Bunce View Post
          That is from one of your plugins. That line is for the global_complete hook location:

          Code:
                  ($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
          Try disabling your plugins:

          Admin CP -> vBulletin Options -> Plugin/Hook System

          Hello Jake.


          Where did you find this code ?

          When I look in /includes/functions.php on line 28 , I see a blank line.

          Many thanks for you reply.

          Robert

          Comment


          • #6
            That line of code should be in global.php.
            Michael Biddle - Follow me on Twitter!

            Comment


            • #7
              Originally posted by on4ya View Post
              Where did you find this code ?
              On line 5166 of the includes/functions.php file.

              Comment

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