Line 25 of the adsense.module:

define('ADSENSE_PLACEHOLDER_TEXT_DEFAULT', t('Google AdSense'));

This is a bug, as locale hasn't been initialized at this point (global context).
Either the call to t() has to be removed or the translation has to happen at a later point.

Comments

kbahey’s picture

Comment #1

kbahey commented
Status: Active » Fixed

Not only that, it causes performance issues on large sites too.

Fixed in 5.x-3.x-dev, 6.x-1.x-dev and HEAD. Should be available in 10 hours in the tarballs.

Thanks for reporting this.

Comment #2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.