Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Fatal Error in AdSense Plugin

This discussion is related to the AdSense addon.
edited January 2011 in Vanilla 2.0 - 2.8
Fatal Error in AdSensePlugin.DiscussionController_AfterCommentBody_Handler();

Undefined variable: Controller
The error occurred on or near: /var/www/forums/plugins/AdSense/default.php

$Type = strtolower($RawType = $Controller->EventArguments['Type']);

Fatal error: Allowed memory size of 156237824 bytes exhausted (tried to allocate 16 bytes) in /var/www/forums/library/core/functions.error.php on line 349


  • was:
    $Type = strtolower($RawType = $Controller->EventArguments['Type']);

    changed to:
    $Type = strtolower($RawType = $Sender->EventArguments['Type']);
Sign In or Register to comment.