I get this message whenever I enable this template. I changed it to Bartik and the message no longer appears.


gtsopour’s picture

Assigned: Unassigned » gtsopour

Hello fehin,
thank you for this issue report.

I can not reproduce this issue and it is the first mention of this. Could you please provide me more information about this issue (maybe some screen shots)? Is your Drupal installation online?


fehin’s picture

I think this has something to do with the search block. I disabled the block and the message no longer shows. I don't need the search block but someone else might.

adellefrank’s picture

I was not using this theme, just the basic search module in core. I encountered this error after adding a hook_form_alter() to my template.php which tried to alter all forms (and, unknowingly, included the basic 'search_block_form' I was using). To "fix" this error, I made sure the first line of my if statement did NOTHING if the $form_id == 'search_block_form'. For example:

function MYTHEMENAME_form_alter(&$form, $form_state, $form_id) {

    global $user;

    if ($form_id == 'search_block_form') {
    } else {
        if (in_array('anonymous user', $user->roles)) {
            $form['revision_information']['#access'] = FALSE;
        } else {
            $form['revision_information']['#access'] = TRUE;