This module crashes my site when implemented - Acquia log file shows - "php-error ded-17849 [10-Jun-2019 11:55:07 America/New_York] PHP Fatal error: Cannot redeclare _imagegecache_token_image_attributes() (previously declared in /mnt/www/html/tiffin/docroot/sites/all/modules/contrib/imagecache_token/imagecache_token.module:251) in /mnt/www/html/tiffin/docroot/sites/all/modules/contrib/imagecache_token/imagecache_token.tokens.inc on line 239 request_id="v-1ec54cca-8b98-11e9-95a8-03875d51ddbd" - This started after upgrading to 7.x-1.0-rc2.

Comments

riwilliams created an issue. See original summary.

damienmckenna’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed

I'm sorry you've ran into this problem. This error happens if you haven't updated the files properly. Please download the latest 1.0 release and the problem should go away.

arne_hortell’s picture

imagecache_token/imagecache_token.tokens.inc
duplicates
imagecache_token/imagecache_token.module

in
imagecache_token_token_info

  • imagecache_token.module:function imagecache_token_token_info() {
  • imagecache_token.tokens.inc:function imagecache_token_token_info() {



imagecache_token_tokens

  • imagecache_token.module:function imagecache_token_tokens($type, $tokens, array $data = array(), array $options = array()) {
  • imagecache_token.tokens.inc:function imagecache_token_tokens($type, $tokens, array $data = array(), array $options = array()) {



_imagegecache_token_image_attributes

  • imagecache_token.module:function _imagegecache_token_image_attributes() {
  • imagecache_token.tokens.inc:function _imagegecache_token_image_attributes() {

Its in the 1.0 release

damienmckenna’s picture

Version: 7.x-1.0-rc2 » 7.x-1.0

No, this problem does not exist in the 1.0 release, you must have an old copy of the .module file from before #3033559: Move token hook implementations to a tokens.inc file was committed. Please download the module again and make sure you delete all of the old files again before copying over the new ones.

Status: Fixed » Closed (fixed)

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