$t used in description and value is throwing Fatal Error "Function name must be a string", AFAK it should be t() function not $t.

function listing_jobappln_requirements($phase) {
if ($phase == 'runtime') {
$count = db_result(db_query("SELECT COUNT(*) FROM {node_type} WHERE type='job_appln'"));
if (!$count) {
$requirements['listing_jobappln'] = array(
'description' => $t('The job application content type is not present. Enable the module content_copy and aopy the contents of listing_jobappln/includes/job_appln-cck-type.txt into your database using content type import admin/content/types/import', array('@url' => 'http://drupal.org/cron')),
'severity' => REQUIREMENT_ERROR,
'value' => $t('Content type missing'),
);

}
}
}

Comments

NewZeal’s picture

Status: Needs work » Fixed

Thanks. Close, the bug is that it is missing this:

$t = get_t();

See: http://api.drupal.org/api/drupal/developer--hooks--install.php/function/...

Status: Fixed » Closed (fixed)

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