Answers.Body: <p>There's some docs about queues at <a href="https://docs.civicrm.org/dev/en/latest/framework/queues/" rel="nofollow noreferrer">https://docs.civicrm.org/dev/en/latest/framework/queues/</a> but I don't think that helps you here.</p>
  <p>You might try upgrading via command line instead: <code>cv upgrade:db</code>. See <a href="https://github.com/civicrm/cv" rel="nofollow noreferrer">https://github.com/civicrm/cv</a> if you don't have <code>cv</code> installed.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T20:11:08.020Z
Answers.LastActivityDate: 2020-08-11T20:11:08.020Z
Answers.UserDisplayName: Demerit
Body: <p>What is the logic behind that? I can't upgrade, I am just not familiar enough with this codebase... Why is there no queueuRunner in the session</p>
  <pre><code>public static function instance($qrid) {
      if (!empty($_SESSION['queueRunners'][$qrid])) {
        return unserialize($_SESSION['queueRunners'][$qrid]);
      }
      else {
        return NULL;
      }
    }
  </code></pre>
  <p>Does not find queueRunners in the session, returns null... thus the error message in title... When are those queueRunners created?</p>
  <p>Thanks</p>
  
Tags: <wordpress><upgrade>
Title: Queue runner must be configured before execution. When trying to upgrade in wordpress
ThreadText: # Queue runner must be configured before execution. When trying to upgrade in wordpress
  
  (Asked by: username_0 on 2020-08-11)
  
  What is the logic behind that? I can't upgrade, I am just not familiar enough with this codebase... Why is there no queueuRunner in the session
  
  ```
  public static function instance($qrid) {
      if (!empty($_SESSION['queueRunners'][$qrid])) {
        return unserialize($_SESSION['queueRunners'][$qrid]);
      }
      else {
        return NULL;
      }
    }
  
  ```
  
  Does not find queueRunners in the session, returns null... thus the error message in title... When are those queueRunners created?
  
  Thanks
  
  **Tags:** wordpress, upgrade
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-08-11. Score: 1 | Accepted answer
  
  There's some docs about queues at <https://docs.civicrm.org/dev/en/latest/framework/queues/> but I don't think that helps you here.
  
  You might try upgrading via command line instead: `cv upgrade:db`. See <https://github.com/civicrm/cv> if you don't have `cv` installed.
  
  
  ---
  
  