Answers.Body: <p>This was tracked down to a caching bug and has been fixed: <a href="https://github.com/civicrm/civicrm-core/pull/29260" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/29260</a></p>
  <p>Released in the latest 5.69 and 5.70.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-21T12:28:46.263Z
Answers.LastActivityDate: 2024-02-21T12:28:46.263Z
Answers.UserDisplayName: Coleman
Body: <p>Curious if anyone else experience this issue?</p>
  <p>I'm running WordPress 6.4.3 / CiviCRM 5.70.0 / PHP 7.4 on a VPS.  When I create a SearchKit search with a table (bypass permissions), then create a FormBuilder from the SearchKit table (Generic: Allow all users (including anonymous), with &quot;accessible on front-end of website&quot; checkbox checked), but WP throws the following error message when I access the form page either from an admin acount or guest:</p>
  <hr />
  <p><strong>Fatal error:</strong> Uncaught CRM_Core_Exception: [0: Unrecognized Angular module afsearch03022024ChildColloquia. Please ensure that all Angular modules are declared. thrown in <strong>/home/office/public_html/wp-content/plugins/civicrm/civicrm/Civi/Angular/Manager.php on line 160</strong></p>
  <p>There has been a critical error on this website.</p>
  <hr />
  <p>I looked at the FormBuilder | Search Forms listing, and &quot;afsearch03022024ChildColloquia&quot; is there.  I also installed the Angular Profile extension, but I'm still seeing the same error.  Curious if anyone knows what might be the issue?  Could it be because I'm still running PHP 7.4?  Any help is greatly appreciated!</p>
  <p><strong>Update 1:</strong>
  Somehow I can access the page now. WP was throwing the error message when I tried to access the page an hour ago, even in icognition mode.  I'm curious if this was caused by the memcached issue.</p>
  <p><strong>Update 2:</strong>
  I created a new FormBuilder page, with the exact same settings, and WP throws the same error message again when I tried to access the newly created page.  Will disable cache to see if it is a cache issue.</p>
  <p><strong>Update 3</strong>
  In the CiviCRM settings file, I updated the cache settings from Memcached to NoCahe, and I can access the page now.  I'm unsure if this is a bug, but whoever runs into the same issue, you can try to disable the cache to see if this will resolve the issue.  Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-14T20:59:39.843Z
Comments.Text: You don't need the deprecated Angular Profile extension (don't think it's the cause of this bug but it's definitely not a solution)
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-14T21:01:00.840Z
Comments.Text: How are you accessing the form? Just by clicking the link to it? Or are you using a shortcode? If link, what URL is it giving you?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-21T05:10:47.603Z
Comments.Text: Getting similar after upgrading to 5.70 and creating a new Test form. Running PHP 8.2 Log file for PHP has: [21-Feb-2024 05:06:32 UTC] PHP Fatal error: Uncaught CRM_Core_Exception: [0: Unrecognized Angular module afformTest. Please ensure that all Angular modules are declared. thrown in /home/xx/public_html/wp-content/plugins/civicrm/civicrm/Civi/Angular/Manager.php on line 160 Public accessible form, and just returns blank white page. On Wordpress. Javascript error in developer tools shown below. [![enter image description here](https://i.sstatic.net/5GFT9.png)](https://i.sstatic.net/
Comments.UserDisplayName: Adam
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-21T05:15:14.417Z
Comments.Text: Interestingly, I disabled memcached in civicrm.settings.php file(turned to NoCache) and re-enabled and form now appears.
Comments.UserDisplayName: Adam
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-21T13:19:35.707Z
Comments.Text: Does this answer your question? [TypeError in\_array - Angular Manager::resolveDefaultModules - civicrm version 5.69.2](https://civicrm.stackexchange.com/questions/46379/typeerror-in-array-angular-managerresolvedefaultmodules-civicrm-version-5)
Comments.UserDisplayName: Coleman
Tags: <formbuilder>
Title: "Unrecognized Angular module" when creating a front-end accessible form
ThreadText: # "Unrecognized Angular module" when creating a front-end accessible form
  
  (Asked by: username_0 on 2024-02-14)
  
  Curious if anyone else experience this issue?
  
  I'm running WordPress 6.4.3 / CiviCRM 5.70.0 / PHP 7.4 on a VPS. When I create a SearchKit search with a table (bypass permissions), then create a FormBuilder from the SearchKit table (Generic: Allow all users (including anonymous), with "accessible on front-end of website" checkbox checked), but WP throws the following error message when I access the form page either from an admin acount or guest:
  
  ---
  
  **Fatal error:** Uncaught CRM\_Core\_Exception: [0: Unrecognized Angular module afsearch03022024ChildColloquia. Please ensure that all Angular modules are declared. thrown in **/home/office/public\_html/wp-content/plugins/civicrm/civicrm/Civi/Angular/Manager.php on line 160**
  
  There has been a critical error on this website.
  
  ---
  
  I looked at the FormBuilder | Search Forms listing, and "afsearch03022024ChildColloquia" is there. I also installed the Angular Profile extension, but I'm still seeing the same error. Curious if anyone knows what might be the issue? Could it be because I'm still running PHP 7.4? Any help is greatly appreciated!
  
  **Update 1:**
  Somehow I can access the page now. WP was throwing the error message when I tried to access the page an hour ago, even in icognition mode. I'm curious if this was caused by the memcached issue.
  
  **Update 2:**
  I created a new FormBuilder page, with the exact same settings, and WP throws the same error message again when I tried to access the newly created page. Will disable cache to see if it is a cache issue.
  
  **Update 3**
  In the CiviCRM settings file, I updated the cache settings from Memcached to NoCahe, and I can access the page now. I'm unsure if this is a bug, but whoever runs into the same issue, you can try to disable the cache to see if this will resolve the issue. Thanks!
  
  **Tags:** formbuilder
  
  > **Comments:**
  > **username_1**: You don't need the deprecated Angular Profile extension (don't think it's the cause of this bug but it's definitely not a solution)  
  > **username_1**: How are you accessing the form? Just by clicking the link to it? Or are you using a shortcode? If link, what URL is it giving you?  
  > **username_2**: Getting similar after upgrading to 5.70 and creating a new Test form. Running PHP 8.2 Log file for PHP has: [21-Feb-2024 05:06:32 UTC] PHP Fatal error: Uncaught CRM_Core_Exception: [0: Unrecognized Angular module afformTest. Please ensure that all Angular modules are declared. thrown in /home/xx/public_html/wp-content/plugins/civicrm/civicrm/Civi/Angular/Manager.php on line 160 Public accessible form, and just returns blank white page. On Wordpress. Javascript error in developer tools shown below. [![enter image description here](https://i.sstatic.net/5GFT9.png)](https://i.sstatic.net/  
  > **username_2**: Interestingly, I disabled memcached in civicrm.settings.php file(turned to NoCache) and re-enabled and form now appears.  
  > **username_1**: Does this answer your question? [TypeError in\_array - Angular Manager::resolveDefaultModules - civicrm version 5.69.2](https://civicrm.stackexchange.com/questions/46379/typeerror-in-array-angular-managerresolvedefaultmodules-civicrm-version-5)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-02-21. Score: 2
  
  This was tracked down to a caching bug and has been fixed: <https://github.com/civicrm/civicrm-core/pull/29260>
  
  Released in the latest 5.69 and 5.70.
  
  
  ---
  
  