Fatal error: Call to a member function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • angeljs
    Senior Member
    • Jun 2008
    • 128
    • 3.7.x

    [Forum] Fatal error: Call to a member function

    I'm receiving a strange error message, but not sure what it means:

    Fatal error
    : Call to a member function query_read() on a non-object in /home/******/public_html/sims/global.php(29) : eval()'d code on line 3

    Any help would be appreciated.
    Thanks
  • Amaury
    Senior Member
    • Mar 2012
    • 1807
    • 4.2.X

    #2
    Make sure that file is uploaded properly to the server.
    Former vBulletin user

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 73442
      • 6.0.X

      #3
      Anything with eval()'d code on line XX in it refers to a template or plugin.

      Looking at Global.php at line 29 shows me this:
      PHP Code:
      ($hook vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false
      You would need to disable all plugins on the global_start hook until you find the right one. Then you need to contact the author of the plugin and have them fix the issue.

      To get the system working initially, please use the config file to disable the plugin system.

      To do this, edit your vBulletin config.php file currently on the server by adding the following line after the <?php line:

      define('DISABLE_HOOKS', true);

      Then reupload the config.php file into your forum's includes folder.

      Afterward, go to the ACP -> Plugins & Products and under both 'Manage Products' and 'Plugin Manager' disable all non-vB products and plugins.

      Make sure to go to both the 'Manage Products' and 'Plugin Manager' locations.

      Then remove that line from the config file.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • angeljs
        Senior Member
        • Jun 2008
        • 128
        • 3.7.x

        #4
        Thank you...I managed to find out which one it was (Gameroom) and disabled it

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎