Answers.Body: <p>You will need to update <a href="https://github.com/eileenmcnaughton/nz.co.fuzion.accountsync" rel="nofollow noreferrer">AccountSync</a> extensions as well.</p>
  <p>There isn't a <a href="https://civicrm.org/extensions/civi-account-sync" rel="nofollow noreferrer">recent released</a> version available but you can download the latest code from <a href="https://github.com/eileenmcnaughton/nz.co.fuzion.accountsync/archive/refs/heads/master.zip" rel="nofollow noreferrer">here</a>.</p>
  <p>HTH</p>
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-20T19:45:18.587Z
Answers.Text: That makes complete sense, thanks.
Answers.UserDisplayName: Alg
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-20T12:45:22.740Z
Answers.LastActivityDate: 2023-02-20T12:45:22.740Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I'm using version CiviCRM 5.57.0 and have just upgraded CiviXero to 2.1.0</p>
  <p>CiviXero has fallen over and prevented Cron from running. When I run Cron I get the following errors...</p>
  <pre><code>Notice: Undefined variable: nvpreq in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/packages/Xero/Xero.php on line 255
  Fatal error: Uncaught Error: Class 'Civi\Api4\AccountContact' not found in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/CRM/Civixero/Contact.php:96
  
  Stack trace:
  #0 /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/api/v3/Civixero/Contactpush.php(50): CRM_Civixero_Contact-&gt;push(Array)
  #1 /wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_civixero_contactpush(Array)
  #2 /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(158): Civi\API\Provider\MagicFunctionProvider-&gt;invoke(Array)
  #3 /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel-&gt;runRequest(Array)
  #4 /wp-content/plugins/civicrm/civicrm/api/api.php(22): Civi\API\Kernel-&gt;runSafe('Civixero', 'contactpush', Array)
  #5 /wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(131): civicrm_api('Civixero', 'contactpush', Array)
  #6 in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/CRM/Civixero/Contact.php on line 96
  </code></pre>
  <p>Any suggestions? Thanks!</p>
  
Tags: <wordpress><civixero>
Title: CiviXero extension broken after upgrade to 2.1.0
ThreadText: # CiviXero extension broken after upgrade to 2.1.0
  
  (Asked by: username_0 on 2023-02-19)
  
  I'm using version CiviCRM 5.57.0 and have just upgraded CiviXero to 2.1.0
  
  CiviXero has fallen over and prevented Cron from running. When I run Cron I get the following errors...
  
  ```
  Notice: Undefined variable: nvpreq in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/packages/Xero/Xero.php on line 255
  Fatal error: Uncaught Error: Class 'Civi\Api4\AccountContact' not found in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/CRM/Civixero/Contact.php:96
  
  Stack trace:
  #0 /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/api/v3/Civixero/Contactpush.php(50): CRM_Civixero_Contact->push(Array)
  #1 /wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_civixero_contactpush(Array)
  #2 /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(158): Civi\API\Provider\MagicFunctionProvider->invoke(Array)
  #3 /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest(Array)
  #4 /wp-content/plugins/civicrm/civicrm/api/api.php(22): Civi\API\Kernel->runSafe('Civixero', 'contactpush', Array)
  #5 /wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(131): civicrm_api('Civixero', 'contactpush', Array)
  #6 in /wp-content/uploads/civicrm/ext/nz.co.fuzion.civixero/CRM/Civixero/Contact.php on line 96
  
  ```
  
  Any suggestions? Thanks!
  
  **Tags:** wordpress, civixero
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-02-20. Score: 1 | Accepted answer
  
  You will need to update [AccountSync](https://github.com/eileenmcnaughton/nz.co.fuzion.accountsync) extensions as well.
  
  There isn't a [recent released](https://civicrm.org/extensions/civi-account-sync) version available but you can download the latest code from [here](https://github.com/eileenmcnaughton/nz.co.fuzion.accountsync/archive/refs/heads/master.zip).
  
  HTH
  
  username_1
  
  > **Comments:**
  > **username_0**: That makes complete sense, thanks.  
  
  ---
  
  