Search code examples
phpvbulletin

Vbulletin fatal error / php


I installed a modification for my vbulletin suite and got this error

Fatal error: Using $this when not in object context in /var/www/forum/includes/class_hook.php on line 57

Apparently some users have this error when using the mod with vbadvanced, but theres no support given.

Maybe someone can figure it out. I don't have any php-knowledge, so i appologize in advance

This is line 53 - 58

53  * Sets the plugin list array
54  */
55  function set_pluginlist(&$pluginlist)
56  {
57      $this->pluginlist =& $pluginlist;
58  }

I hope someone can help me, also it's not very much information :/


Solution

  • The same problem seems to be addressed. Try checking out: VBulletin Forum.

    Let me quote from there:

    I've uploaded a fix for the vBAdvanced issue, please re-download the zip file and re-upload /dbtech/livewall/hooks/process_templates_complete.php

    The link to that single post: http://www.vbulletin.org/forum/showpost.php?s=0de19e68ada2bc70d3698e851f0cce9e&p=2306225&postcount=12

    Hope it is useful! :)