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

synchlayer’s picture

This also happens on all Views generated pages and pages that have Views related blocks on them.

westis’s picture

Do you have the latest dev version?

synchlayer’s picture

Yes - newest dev version.

I just commented out the whole preprocess-node.inc file and now everything works fine.

westis’s picture

Status: Active » Closed (fixed)

Seems like I missed committing deleting that file. It's committed to dev now.

synchlayer’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha2
Status: Closed (fixed) » Needs review

@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

westis’s picture

Status: Needs review » Fixed

I 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.

Status: Fixed » Closed (fixed)

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