-2

I have a custom module which calls a custom function. I created this function longback working fine till yesterday. today it says call to undefined function fatal error. Does anyone know what the reason could be. I tried all the possibility to make it work, but it crashes! using drupal 7 , php 5.2

closed as not a real question by Clive May 28 '13 at 9:02

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Did you try uninstalling and reinstalling the module? – user606696 May 28 '13 at 6:51
  • Is this function in main module or some inc file? – Mołot May 28 '13 at 7:01
  • Please add more info to your question. Where is the custom function written ? Where are you calling this from ? Are the custom modules enabled ? – GoodSp33d May 28 '13 at 8:24
  • Welcome to Drupal Answers :) in its current form this isn't a reasonable question. It's impossible to speculate as to what's causing errors in code we can't see. Please add the code and exact error message(s) to the question, and flag it to be reviewed for re-opening – Clive May 28 '13 at 9:04
2

The reasons maybe:

  1. Either the module is disabled.
  2. Typo error in the function call.
  3. The module has been removed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.