Answers.Body: <p>Aha! Thanks for the list of extensions. You have afform_admin enabled and in 5.45 it started <a href="https://github.com/civicrm/civicrm-core/commit/cb80705c0df2c1e106774ebc74c0452fd1e01f92#diff-7110a32fa979e355db9114edaa4a6622c2cc71b3b3e5a70e5cc01d9532af12cbR26" rel="nofollow noreferrer">requiring search_kit</a>. So it must be looking for it after upgrade.</p>
  <p>If you've already upgraded and have access to the mysql database, you can do <code>update civicrm_extension set is_active = 0 where full_name='org.civicrm.afform_admin';</code> to disable afform-admin temporarily so you can get to the screens.</p>
  <p>If you haven't upgraded yet, this needs to be fixed in core but in the meantime before upgrading you can either disable afform-admin, or install search kit.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T04:31:47.223Z
Answers.Text: Oh !!....I didn't get any errors during the upgrade though...can you pls suggest what I can do to rectify, thanking you in advance.
Answers.UserDisplayName: markd
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T04:32:18.733Z
Answers.Text: It needs to be fixed in core but basically enable search kit before upgrading and it should be ok then.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T04:33:52.600Z
Answers.Text: You can try disabling afform-admin from the database so you can get to admin screens: `update civicrm_extension set is_active = 0 where full_name='org.civicrm.afform_admin';`
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T05:19:03.200Z
Answers.Text: Thanks Demerit......it has fixed the issue...Here are my steps....
  1.  Set is_active = 0 where full_name='org.civicrm.afform_admin' as per your suggestions above.
  2. Cleared CiviCrm cache
  3. Went to extensions page and noticed Searchkit was NOT installed but shown on page.
  4. Message appeared "extension upgrade pending"
  5. ran "Extension Upgrades" noticed that ...org.civicrm.afform_admin was updated in process.
  6. cleared Civicrm caches
  7. Installed Searchkit on extensions page.
  
  Do I need to enable Form Builder extension?
  What is the yellow "flask" icon next to the version number?
Answers.UserDisplayName: markd
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T10:56:26.077Z
Answers.Text: it means it's a pre-version release and not a stable release. this is now since version 5.4X or so I think
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-19T04:28:35.680Z
Answers.LastActivityDate: 2022-01-19T15:25:48.307Z
Answers.LastEditDate: 2022-01-19T15:25:48.307Z
Answers.UserDisplayName: Demerit
Body: <p>I upgraded from CiviCrm 5.38 to 5.45.0 on my staging server which is on Wordpress(5.8.3). I get a Error Thrown ...Class 'CRM_Search_Upgrader' not found when I access:</p>
  <ol>
  <li><p>CiviCRM from the Wordpress Admin panel for the first time and when I refresh the
  page CiviCRM comes up.</p>
  </li>
  <li><p>Administration&gt;&gt;System status - nothing comes up apart from the wait icon.  (<a href="https://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fa%2F#/status" rel="nofollow noreferrer">https://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fa%2F#/status</a>)</p>
  </li>
  <li><p>The extensions option thru the administration menu. Administration&gt;&gt;&gt;System Settings&gt;&gt;Extensions (<a href="https://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fadmin%2Fextensions&amp;reset=1" rel="nofollow noreferrer">https://example.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fadmin%2Fextensions&amp;reset=1</a>)</p>
  </li>
  </ol>
  <p>For the upgrade I followed the notes on <a href="https://docs.civicrm.org/sysadmin/en/latest/upgrade/wordpress/" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/upgrade/wordpress/</a></p>
  <p>Extensions were also brought back as per the notes above. The extensions are:-</p>
  <ol>
  <li>ca.civicrm.logviewer</li>
  <li>mosaicotweaks</li>
  <li>purgelogs-1.1.0</li>
  <li>uk.co.compucorp.civicrm.booking</li>
  <li>uk.co.vedaconsulting.mosaico</li>
  <li>webtracking-1.3</li>
  </ol>
  <p>I don't think that uk.co.compucorp.civicrm.booking is working or has been updated as we were testing this some time ago but abandoned it as there was no support.</p>
  <p>Caches have been cleared, CiviCrm menu rebuilt and rebuilt database triggers through the CiviCRM Admin Utilities.</p>
  <p>I did get the message that the upgrade was successful during the upgrade process through CiviCRM Admin Utilities.It shows that I am running 5.45.0 on the bottom of <a href="https://example.org/wp-admin/admin.php?page=CiviCRM" rel="nofollow noreferrer">https://example.org/wp-admin/admin.php?page=CiviCRM</a></p>
  <ol>
  <li><p>Has anyone come across the same issue on Wordpress and be able to assist please with a solution?</p>
  </li>
  <li><p>Do I revert back to CiviCRM 5.36 and wait for the next version CiviCRM 5.46 on my staging server?</p>
  </li>
  </ol>
  <p>Thanking the team in advance.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-16T23:48:40.653Z
Comments.Text: Hi, This seems like the same question as https://civicrm.stackexchange.com/questions/41044/error-class-crm-search-upgrader-not-found-since-upgrading-to-5-45-1-joomla, but when you say `Extensions were also brought back as per the notes above`, do you mean including the `ext` dir in the civicrm core tree, i.e. the ext folder at the same level as `ang`, `CRM`, `Civi`, etc... Just want to clarify because those core ones should not be restored, just 3rd party ones that usually live in a different folder.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-17T03:14:23.473Z
Comments.Text: Thanks Demerit....yes you are correct. I started this question as I believed https://civicrm.stackexchange.com/questions/41044/error-class-crm-search-upgrader-not-found-since-upgrading-to-5-45-1-joomla was around Joomla.....it was the 3rd part ext folder that was restored which is in ..../wp-content/uploads/civicrm/ext#
Comments.UserDisplayName: markd
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-17T03:30:48.707Z
Comments.Text: Ok cool. Do you mind updating your question to list which extensions you have installed since I'm trying to figure out if it's some extension that is maybe causing this, since it's not affecting every site.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-17T03:39:46.270Z
Comments.Text: Sure...
  1. ca.civicrm.logviewer
  2. mosaicotweaks
  3. purgelogs-1.1.0
  4. uk.co.compucorp.civicrm.booking
  5. uk.co.vedaconsulting.mosaico
  6. webtracking-1.3
  
  I don't think that uk.co.compucorp.civicrm.booking is working or has been updated as we were testing this some time ago but abandoned it as there was no support.
Comments.UserDisplayName: markd
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-18T16:04:28.533Z
Comments.Text: The error is definitely related to the SearchKit extension. Has that extension ever been installed on your site (if so then perhaps it's still installed but disabled)?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-18T22:36:07.433Z
Comments.Text: Thanks Coleman, How can I check if SearchKit has been installed previously?. As I cant get to the extensions screen (Administer>>System Settings) I cant check if I had it previously on my staging server. On my production server SearchKit shows (CiviCRMv5.38) as a listing but not enabled and can be installed. What are my options for my staging server pls?
Comments.UserDisplayName: markd
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-18T23:04:47.517Z
Comments.Text: If you have access to the mysql database do `select full_name,is_active from civicrm_extension;`
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-19T02:37:24.437Z
Comments.Text: Thank you Demerit.... Running this command in phpMyAdmin... select full_name,is_active from civicrm_extension;
   full_name is_active ...
  sequentialcreditnotes 1 
  ca.civicrm.logviewer 1 
  org.civicrm.flexmailer 1 
  uk.co.vedaconsulting.mosaico 1 
  eventcart 1 
  financialacls 1 
  greenwich 1 
  contributioncancelactions 1 
  recaptcha 1 mosaicotweaks 1 
  org.civicrm.afform 1 
  org.civicrm.afform-html 1 
  org.civicrm.afform_admin 1 
  purgelogs 1 
  authx 1 
  ckeditor4 1 
  legacycustomsearches 1 
  
  Should SerchKit come up in this output above?
Comments.UserDisplayName: markd
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-19T02:47:30.367Z
Comments.Text: This format may be clearer....
   full_name<t>is_active<c>sequentialcreditnotes<t>1<c>ca.civicrm.logviewer<t>1<c>org.civicrm.flexmailer<t>1<c>uk.co.vedaconsulting.mosaico<t>1<c>eventcart<t>1<c>financialacls<t>1<c>greenwich<t>1<c>contributioncancelactions<t>1<c>recaptcha<t>1<c>mosaicotweaks<t>1<c>org.civicrm.afform<t>1<c>org.civicrm.afform-html<t>1<c>org.civicrm.afform_admin<t>1<c>purgelogs<t>1<c>authx<t>1<c>ckeditor4<t>1<c>legacycustomsearches<t>1<c>
  
  t=tab; c=carriage return;
  
  Should SerchKit come up in this output above?
Comments.UserDisplayName: markd
Tags: <wordpress><extension><upgrade><error><accessibility>
Title: ERROR Class 'CRM_Search_Upgrader' not found since upgrading CiviCRM to 5.45.1 on Wordpress 5.8.3
ThreadText: # ERROR Class 'CRM_Search_Upgrader' not found since upgrading CiviCRM to 5.45.1 on Wordpress 5.8.3
  
  (Asked by: username_0 on 2022-01-16)
  
  I upgraded from CiviCrm 5.38 to 5.45.0 on my staging server which is on Wordpress(5.8.3). I get a Error Thrown ...Class 'CRM\_Search\_Upgrader' not found when I access:
  
  1. CiviCRM from the Wordpress Admin panel for the first time and when I refresh the
     page CiviCRM comes up.
  2. Administration>>System status - nothing comes up apart from the wait icon. (<https://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fa%2F#/status>)
  3. The extensions option thru the administration menu. Administration>>>System Settings>>Extensions (<https://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fextensions&reset=1>)
  
  For the upgrade I followed the notes on <https://docs.civicrm.org/sysadmin/en/latest/upgrade/wordpress/>
  
  Extensions were also brought back as per the notes above. The extensions are:-
  
  1. ca.civicrm.logviewer
  2. mosaicotweaks
  3. purgelogs-1.1.0
  4. uk.co.compucorp.civicrm.booking
  5. uk.co.vedaconsulting.mosaico
  6. webtracking-1.3
  
  I don't think that uk.co.compucorp.civicrm.booking is working or has been updated as we were testing this some time ago but abandoned it as there was no support.
  
  Caches have been cleared, CiviCrm menu rebuilt and rebuilt database triggers through the CiviCRM Admin Utilities.
  
  I did get the message that the upgrade was successful during the upgrade process through CiviCRM Admin Utilities.It shows that I am running 5.45.0 on the bottom of <https://example.org/wp-admin/admin.php?page=CiviCRM>
  
  1. Has anyone come across the same issue on Wordpress and be able to assist please with a solution?
  2. Do I revert back to CiviCRM 5.36 and wait for the next version CiviCRM 5.46 on my staging server?
  
  Thanking the team in advance.
  
  **Tags:** wordpress, extension, upgrade, error, accessibility
  
  > **Comments:**
  > **username_1**: Hi, This seems like the same question as https://civicrm.stackexchange.com/questions/41044/error-class-crm-search-upgrader-not-found-since-upgrading-to-5-45-1-joomla, but when you say `Extensions were also brought back as per the notes above`, do you mean including the `ext` dir in the civicrm core tree, i.e. the ext folder at the same level as `ang`, `CRM`, `Civi`, etc... Just want to clarify because those core ones should not be restored, just 3rd party ones that usually live in a different folder.  
  > **username_0**: Thanks username_1....yes you are correct. I started this question as I believed https://civicrm.stackexchange.com/questions/41044/error-class-crm-search-upgrader-not-found-since-upgrading-to-5-45-1-joomla was around Joomla.....it was the 3rd part ext folder that was restored which is in ..../wp-content/uploads/civicrm/ext#  
  > **username_1**: Ok cool. Do you mind updating your question to list which extensions you have installed since I'm trying to figure out if it's some extension that is maybe causing this, since it's not affecting every site.  
  > **username_0**: Sure... 1. ca.civicrm.logviewer 2. mosaicotweaks 3. purgelogs-1.1.0 4. uk.co.compucorp.civicrm.booking 5. uk.co.vedaconsulting.mosaico 6. webtracking-1.3  I don't think that uk.co.compucorp.civicrm.booking is working or has been updated as we were testing this some time ago but abandoned it as there was no support.  
  > **username_2**: The error is definitely related to the SearchKit extension. Has that extension ever been installed on your site (if so then perhaps it's still installed but disabled)?  
  > **username_0**: Thanks username_2, How can I check if SearchKit has been installed previously?. As I cant get to the extensions screen (Administer>>System Settings) I cant check if I had it previously on my staging server. On my production server SearchKit shows (CiviCRMv5.38) as a listing but not enabled and can be installed. What are my options for my staging server pls?  
  > **username_1**: If you have access to the mysql database do `select full_name,is_active from civicrm_extension;`  
  > **username_0**: Thank you username_1.... Running this command in phpMyAdmin... select full_name,is_active from civicrm_extension;  full_name is_active ... sequentialcreditnotes 1  ca.civicrm.logviewer 1  org.civicrm.flexmailer 1  uk.co.vedaconsulting.mosaico 1  eventcart 1  financialacls 1  greenwich 1  contributioncancelactions 1  recaptcha 1 mosaicotweaks 1  org.civicrm.afform 1  org.civicrm.afform-html 1  org.civicrm.afform_admin 1  purgelogs 1  authx 1  ckeditor4 1  legacycustomsearches 1   Should SerchKit come up in this output above?  
  > **username_0**: This format may be clearer....  full_name<t>is_active<c>sequentialcreditnotes<t>1<c>ca.civicrm.logviewer<t>1<c>org.civicrm.flexmailer<t>1<c>uk.co.vedaconsulting.mosaico<t>1<c>eventcart<t>1<c>financialacls<t>1<c>greenwich<t>1<c>contributioncancelactions<t>1<c>recaptcha<t>1<c>mosaicotweaks<t>1<c>org.civicrm.afform<t>1<c>org.civicrm.afform-html<t>1<c>org.civicrm.afform_admin<t>1<c>purgelogs<t>1<c>authx<t>1<c>ckeditor4<t>1<c>legacycustomsearches<t>1<c>  t=tab; c=carriage return;  Should SerchKit come up in this output above?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-01-19. Score: 2
  
  Aha! Thanks for the list of extensions. You have afform\_admin enabled and in 5.45 it started [requiring search\_kit](https://github.com/civicrm/civicrm-core/commit/cb80705c0df2c1e106774ebc74c0452fd1e01f92#diff-7110a32fa979e355db9114edaa4a6622c2cc71b3b3e5a70e5cc01d9532af12cbR26). So it must be looking for it after upgrade.
  
  If you've already upgraded and have access to the mysql database, you can do `update civicrm_extension set is_active = 0 where full_name='org.civicrm.afform_admin';` to disable afform-admin temporarily so you can get to the screens.
  
  If you haven't upgraded yet, this needs to be fixed in core but in the meantime before upgrading you can either disable afform-admin, or install search kit.
  
  > **Comments:**
  > **username_0**: Oh !!....I didn't get any errors during the upgrade though...can you pls suggest what I can do to rectify, thanking you in advance.  
  > **username_1**: It needs to be fixed in core but basically enable search kit before upgrading and it should be ok then.  
  > **username_1**: You can try disabling afform-admin from the database so you can get to admin screens: `update civicrm_extension set is_active = 0 where full_name='org.civicrm.afform_admin';`  
  > **username_0**: Thanks username_1......it has fixed the issue...Here are my steps.... 1.  Set is_active = 0 where full_name='org.civicrm.afform_admin' as per your suggestions above. 2. Cleared CiviCrm cache 3. Went to extensions page and noticed Searchkit was NOT installed but shown on page. 4. Message appeared "extension upgrade pending" 5. ran "Extension Upgrades" noticed that ...org.civicrm.afform_admin was updated in process. 6. cleared Civicrm caches 7. Installed Searchkit on extensions page.  Do I need to enable Form Builder extension? What is the yellow "flask" icon next to the version number?  
  > **username_3**: it means it's a pre-version release and not a stable release. this is now since version 5.4X or so I think  
  
  ---
  
  