Answers.Body: <p>Comment out line 391 of that file - so that it reads like this:</p>
  <pre><code>// add_filter( 'heartbeat_settings', array( $this, 'heartbeat' ), 1000, 1 );
  </code></pre>
  <p>Then try the upgrade again.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-12T08:24:27.193Z
Answers.LastActivityDate: 2020-10-12T08:24:27.193Z
Answers.UserDisplayName: Christian Wach
Body: <p>When upgrading our site from Civi 5.16 to the latest 5.30, when I point my browser to run the upgrade at:
  <a href="http://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/upgrade&amp;reset=1" rel="nofollow noreferrer">http://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/upgrade&amp;reset=1</a></p>
  <p>I get the to the update page, which has the following:</p>
  <p>The database will be upgraded from 5.16.0 to 5.30.0.</p>
  <p>Then long list of warnings about default copies of message templates etc.
  At the end of this, when I click on the &quot;Upgrade Now&quot; button, I get this message and nothing else happens:</p>
  <p>Notice: Undefined index query in .../wp-content/plugins/civicrm/civicrm.php on line 483</p>
  <p>I'm running Wordpress 4.9. No our site is down and I need help to resolve this upgrade issue.</p>
  
Tags: <upgrade>
Title: Wordpress - Civicrm 5.16 upgrade to 5.30 issue - Notice: Undefined index query in /wp-content/plugins/civicrm/civicrm.php on line 483
ThreadText: # Wordpress - Civicrm 5.16 upgrade to 5.30 issue - Notice: Undefined index query in /wp-content/plugins/civicrm/civicrm.php on line 483
  
  (Asked by: username_0 on 2020-10-11)
  
  When upgrading our site from Civi 5.16 to the latest 5.30, when I point my browser to run the upgrade at:
  <http://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/upgrade&reset=1>
  
  I get the to the update page, which has the following:
  
  The database will be upgraded from 5.16.0 to 5.30.0.
  
  Then long list of warnings about default copies of message templates etc.
  At the end of this, when I click on the "Upgrade Now" button, I get this message and nothing else happens:
  
  Notice: Undefined index query in .../wp-content/plugins/civicrm/civicrm.php on line 483
  
  I'm running Wordpress 4.9. No our site is down and I need help to resolve this upgrade issue.
  
  **Tags:** upgrade
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-10-12. Score: 0
  
  Comment out line 391 of that file - so that it reads like this:
  // add_filter( 'heartbeat_settings', array( $this, 'heartbeat' ), 1000, 1 );
  
  Then try the upgrade again.
  
  
  ---
  
  