Please upgrade here. These earlier versions are no longer being updated and have security issues.

Fatal Error in AdSense Plugin

This discussion is related to the AdSense addon.
brujahbrujah
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

line:42
$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

Comments

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

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