Closed (fixed)
Project:
Community Media Theme
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2012 at 22:25 UTC
Updated:
21 Nov 2012 at 05:50 UTC
After making a couple of minor appearance changes I got this message on the home page:
Fatal error: Cannot redeclare theme_preprocess_node() (previously declared in /var/www/<SITE>sites/all/themes/cm_theme/preprocess/preprocess-node.inc:2) in /var/www/<SITE>/sites/all/themes/cm_theme/preprocess/preprocess-node.inc on line 6
The homepage only displays the site logo and menus above the error.
The rest of the site seems to function entirely normally.
Comments
Comment #1
synchlayer commentedThis also happens on all Views generated pages and pages that have Views related blocks on them.
Comment #2
westis commentedDo you have the latest dev version?
Comment #3
synchlayer commentedYes - newest dev version.
I just commented out the whole preprocess-node.inc file and now everything works fine.
Comment #4
westis commentedSeems like I missed committing deleting that file. It's committed to dev now.
Comment #5
synchlayer commented@westis - I just updated to the latest alpha, and the same thing happened as before, so I commented out again, and once more everything's dandy
Comment #6
westis commentedI haven't done any work on the 1.x branch for months. The 2.x branch is using Zen as the base-theme instead of Omega and that's where the real effort is put now. In a couple of weeks, if not before, there should be an alpha of the 2.x theme that is even more ready than the 1.x alpha and more beautiful.
But for 1.x, use the dev version. The bug mentioned and some few other things are changed in that version, although no release was made due to the move to Zen and the 2.x version. I'll write something about that on the project page.