I was receiving this error on all my sites on after upgrading the multisite platform to pressflow-6.19.92 . I fixed it by wrapping hook_form_alter with

if(isset($form['#after_build'])){ ... }

so the resulting function is

function linkit_form_alter(&$form, &$form_state, $form_id) {
  if(isset($form['#after_build'])){
    if(count($form['#after_build'])) {
      foreach($form['#after_build'] AS $after_build) {
        if($after_build == "ckeditor_process_form") {
          _linkit_add_settings('ckeditor');
        }
      }
    }
  }
}

Comments

anon’s picture

Priority: Critical » Minor
Status: Active » Fixed

Thanks, I have commited your solution.

anon’s picture

Version: 6.x-1.5 » 6.x-1.x-dev

Status: Fixed » Closed (fixed)

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