Today I upgraded from shield 1.2 to 1.x in order to take advantage of the extra features, and started getting this error all over the admin:

PHP Fatal error: Cannot redeclare drupal_path_initialize() (previously declared in /var/www/public/includes/path.inc:18) in /var/www/public/sites/all/modules/contrib/pathcache/path.inc on line 18

This is a conflict with the Path Cache module here: https://www.drupal.org/project/pathcache

After looking at that error and then looking at what changed between 1.2 and 1.x, I saw that 1.x was ignoring the path_inc variable to try to load the default /includes/path.inc file.

I've already patched this and it's working. About to submit the patch.

CommentFileSizeAuthor
#2 shield-check_pathinc_variable.patch589 bytesyivich
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yivich created an issue. See original summary.

yivich’s picture

geek-merlin’s picture

Related issues: +#2400521: Breaks path cache

Linking related but different.

geek-merlin’s picture

  • axel.rutz committed f1c8b42 on 7.x-1.x authored by yivich
    Issue #2671424 by yivich: Conflict with Path Cache module
    
geek-merlin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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