if (!module_exists('block')) {
drupal_set_message(t('The Block module must be enabled before using this wizard.', 'error'));
return '';
}
Also the drupal_set_message line is causing an error for me:
Recoverable fatal error: Argument 2 passed to t() must be an array, string given, called in /Websites/openethical/sites/all/modules/contrib/socialmedia/socialmedia.setup.inc on line 14 and defined in t() (line 1477 of /Websites/openethical/includes/bootstrap.inc).
if (!module_exists('block')) {
drupal_set_message(t('The Block module must be enabled before using this wizard.', 'error'));
return '';
}
Also the drupal_set_message line is causing an error for me:
Recoverable fatal error: Argument 2 passed to t() must be an array, string given, called in /Websites/openethical/sites/all/modules/contrib/socialmedia/socialmedia.setup.inc on line 14 and defined in t() (line 1477 of /Websites/openethical/includes/bootstrap.inc).
Comments
Comment #1
TomDude48 commentedI put a fix in dev for this issue.
Comment #2
Andrew Edwards commentedHi Tom,
I think block is still required in dev:
7.x-1.0-beta13+3-dev has:
Also the drupal_set_message line is causing an error for me:
Cheers,
Andrew
Comment #3
Andrew Edwards commentedHi Tom,
I think block is still required in dev:
7.x-1.0-beta13+3-dev has:
Also the drupal_set_message line is causing an error for me:
Cheers,
Andrew