Hi,
I update adsense module 7.x-1.3 to 7.x-1.7,
have a error message:

Fatal error: Cannot redeclare adsense_requirements() (previously declared
in /var/www/example/sites/all/modules/adsense/adsense.module:213)
in /var/www/example/sites/all/modules/adsense/adsense.install on line 39

and i edit my adsense Block also have the error messege in (Recent log messages)
Notice: Undefined offset: 5 in adsense_managed_block_configure() (line 132 of /var/www/example/sites/all/modules/adsense/managed/adsense_managed.module).
Notice: Undefined offset: 6 in adsense_managed_block_configure() (line 153 of /var/www/example/sites/all/modules/adsense/managed/adsense_managed.module).

Thank you

CommentFileSizeAuthor
#3 2754761_fix.patch918 bytesshishirsuvarna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KJieDrupal created an issue. See original summary.

KJieDrupal’s picture

Issue summary: View changes
shishirsuvarna’s picture

FileSize
918 bytes

@KJieDrupal Try this, this worked for me.

shishirsuvarna’s picture

Status: Active » Needs review

jcnventura’s picture

Status: Needs review » Fixed

Thanks for the patch shishirsuvarna!

@KJieDrupal: It's been a few months already, but this kind of problem usually means that your system is caching the drupal files (via APC or similar). Usually running "drush cc all" would fix that.

Status: Fixed » Closed (fixed)

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