Announcement

Collapse
No announcement yet.

Admin login. Fatal error: Cannot use object of type mysqli_result

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

  • Admin login. Fatal error: Cannot use object of type mysqli_result

    When I try to login as admin to site - or login as a member - I get this error:
    Fatal error: Cannot use object of type mysqli_result as array in /blah/blah/blah/forums/global.php(607) : eval()'d code(547) : eval()'d code on line 3

    Running latest version of vB.

    I've reset all db tables. Run the tools.php.

    The only thing I've added is the Advanced Google Adsense mod.

    Any suggestions appreciated.

  • #2
    This error is from a plugin you've installed. You need to disable each of your plugins then turn one at a time to see which one is causing this.

    If you cannot log into the Admin CP then to disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);


    This will disable all hooks and allow you to log in properly with no hooks running.

    http://www.vbulletin.com/docs/html/disable_plugins
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thanks Steve. I've added the code and can get into admin now. Phew.

      Update: It was the Advanced Google Adsense mod which caused the problem. I'll check that mod forum for similar problems.
      Last edited by nanaimobar; Wed 25 Nov '09, 9:09pm. Reason: Updated post.

      Comment

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