array(4) { ["type"]=> int(64) ["message"]=> string(149) "Cannot redeclare itunes_views_plugins() (previously declared in .../sites/all/modules/itunes/views/itunes.views.inc:14)" ["file"]=> string(75) ".../sites/all/modules/itunes/itunes.views.inc" ["line"]=> int(28) }
This error message after upgrading to 1.6 and trying to run update.php
Will completely uninstall module, reinstall and report back here in some moments...
Comments
Comment #1
ClearXS commentedYes, that apparently worked, as reinstalling after completely removing out of the database is a new install, so nothing to update, so no update error...
The question remains if this was an accidental error, or that an update path was erroneous of a dev version to 1.6 (as I thought to have used a dev before the 1.6 release).
Comment #2
drewish commentedI'm guessing it's because you had two copies of the module? How'd you do the update?
Comment #3
esbon commentedThis module updated fine, but my problem is I could not make any configuration changes like clearing the cache or reconfiguring og for instance. I did solve my problem because I fond the same error reported above in my log files. I went back to 6.x-1.5 and I can now make site configurations changes including the use of update.php
Thanks
Comment #4
mnordstrom commentedRan into this same problem. Everything works fine if I comment the function out of itunes.views.inc. Then again, if it is uncommented, making any change to site configurations (as in changing anything in the variable table), I get that same function redeclare PHP error.
The error can apparently always be fixed by commenting out the function. After this, uncommenting it doesn't break the site - before you do some configuration changes again.