Omega theme fatal error

Events happening in the community are now at Drupal community events on www.drupal.org.
Shelley Astro's picture

I recently set up a new site: Drupal 7.2; ctools, panels, omega tools, delta, context, advanced help and views for modules.
Omega & Alpha core omega theme are enabled. When i go to settings this is what I get:
Fatal error: Call to undefined function delta_get_current() in /home1/.../sites/all/themes/omega/alpha/includes/alpha.inc on line 222

Please help, I am new at this.

All the best
Astro Shelley

Comments

Omega theme, fatal error

Shelley Astro's picture

First time posting please read above

Hi - I can't help with this,

arianek's picture

Hi - I can't help with this, but I'm a g.d.o admin and just wanted to let you know I had to update the title of this post to shorten it, so it wouldn't break some g.d.o thread list layouts. Good luck with your troubleshooting!

Debugging...

DeeZone's picture

Shelley,

Some debugging suggestions in the hopes of helping you down the Drupal path of goodness...

  1. Google is your friend. When encountering an error always do a Google search of the error message to see if anyone else is dealing with the same issue and ideally has posted the solution. In your case searching for "Call to undefined function delta_get_current()" would be a good place to start.

  2. In the error message, the function "delta_get_current" is the source of the issue based on the error message. The "delta" suggests that there needs to be module or theme by the same name. The path in the error message: "/home1/.../sites/all/themes/omega/alpha/includes/alpha.inc" tells you that the "alpha" sub theme to "omega" is expecting the "delta" function.

  3. Based on the Google search results I found this: Fatal error: Call to undefined function delta_get_current() in alpha.inc -> http://drupal.org/node/1266552 which talks "disabling the Delta module" which removed the error.

Try the advice of the user and report back here as to how it went including "it worked". The idea is that we're building a reference for other users to follow if they too run in the same problem. There's no need for anyone else in the Drupal community to struggle with the same issue. It's the Open Source way of doing things :)

PS - If you already knew all of this then please forgive my simplified explanation, it's as much a reference for you as it is for the whole community in the hopes of reducing the number of support requests posted on Groups.Drupal.

If you run into this problem,

fubhy's picture

If you run into this problem, update both (Delta and Omega). The error will be gone afterwards. Most likely this problem occurs when you are operating a not up-to-date version of Delta. Get the dev version to be 100% sure.

Problem solved

Shelley Astro's picture

Thank you DeeZone!!
Disabling the Delta module solved the problem.

The next step...

DeeZone's picture

The next step in being a good to the Drupal User community would be to report the issue in the Omega issue queue -> http://drupal.org/project/issues/omega?status=All&categories=All. It turns out that someone is dealing with the same issue: http://drupal.org/node/1266552 and has reported that the solution is to disable the Delta module as well as fubhy suggested above, updating to the latest versions of Delta and Omega will also resolve the issue.

Great to hear you've made some progress, congrats.

Western Massachusetts

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: