Answers.Body: <p>Looks like a regression to me, I can confirm it works on 5.58.1 but not dmaster, so not on the most recent version. I'd recommend posting an issue on Gitlab: <a href="https://lab.civicrm.org/groups/dev/-/issues" rel="nofollow noreferrer">https://lab.civicrm.org/groups/dev/-/issues</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-19T12:48:16.897Z
Answers.Text: Thanks Lars, issue created - https://lab.civicrm.org/dev/core/-/issues/4303
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-19T06:44:05.110Z
Answers.LastActivityDate: 2023-05-19T06:44:05.110Z
Answers.UserDisplayName: Lars SG
Body: <p>The blue help bubble has stopped working on all my custom data fields. The error is shown in the snippet below, &quot;Unable to load help file.&quot; Help for non-custom fields continues to work as usual. Clearing caches and resetting paths didn't help. At a loss for what else to do, I restarted the server to no avail. The CiviCRM log file records the exception in the text below the snippet.</p>
  <p>CiviCRM 5.61.1, Drupal 7.97, MySQL 5.7.42, PHP 7.4.33</p>
  <p><a href="https://i.sstatic.net/UBS2i.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UBS2i.png" alt="Custom field help error" /></a></p>
  <pre><code>May 18 20:36:16  [debug] $backTrace = #0 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(443): CRM_Core_Error::backtrace(&quot;backTrace&quot;, TRUE)
  #1 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module(471): CRM_Core_Invoke::invoke((Array:3))
  #3 /home/civiprod/public_html/includes/menu.inc(527): civicrm_invoke(&quot;ajax&quot;, &quot;inline&quot;)
  #4 /home/civiprod/public_html/index.php(21): menu_execute_active_handler()
  #5 {main}
  
  
  May 18 20:42:48  [error] 
  $Fatal Error Details = array:3 [
    &quot;message&quot; =&gt; &quot;Invalid {htxt} tag. Wrapped 0 opening-tags and 1 closing-tags.&quot;
    &quot;code&quot; =&gt; null
    &quot;exception&quot; =&gt; RuntimeException {#1347
      #message: &quot;Invalid {htxt} tag. Wrapped 0 opening-tags and 1 closing-tags.&quot;
      #code: 0
      #file: &quot;/home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty/plugins/prefilter.htxtFilter.php&quot;
      #line: 32
      trace: {
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty/plugins/prefilter.htxtFilter.php:32 {
          smarty_prefilter_htxtFilter($tpl_source, &amp;$smarty)
          › if ($htxts !== $_htxts) {
          ›   throw new \RuntimeException(sprintf('Invalid {htxt} tag. Wrapped %d opening-tags and %d closing-tags.', $htxts, $_htxts));
          › }
        }
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty_Compiler.class.php:248 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1499 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1432 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1271 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty.php:192 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Page/Inline/Help.php:36 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Page/AJAX.php:59 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:285 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:69 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:36 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module:471 { …}
        /home/civiprod/public_html/includes/menu.inc:527 { …}
        /home/civiprod/public_html/index.php:21 { …}
      }
    }
  ]
  
  
  May 18 20:42:48  [debug] $backTrace = #0 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(443): CRM_Core_Error::backtrace(&quot;backTrace&quot;, TRUE)
  #1 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module(471): CRM_Core_Invoke::invoke((Array:3))
  #3 /home/civiprod/public_html/includes/menu.inc(527): civicrm_invoke(&quot;ajax&quot;, &quot;inline&quot;)
  #4 /home/civiprod/public_html/index.php(21): menu_execute_active_handler()
  #5 {main}
  </code></pre>
  
Tags: <custom-fields>
Title: Custom field post help results in "Unable to load help file."
ThreadText: # Custom field post help results in "Unable to load help file."
  
  (Asked by: username_0 on 2023-05-19)
  
  The blue help bubble has stopped working on all my custom data fields. The error is shown in the snippet below, "Unable to load help file." Help for non-custom fields continues to work as usual. Clearing caches and resetting paths didn't help. At a loss for what else to do, I restarted the server to no avail. The CiviCRM log file records the exception in the text below the snippet.
  
  CiviCRM 5.61.1, Drupal 7.97, MySQL 5.7.42, PHP 7.4.33
  
  [![Custom field help error](https://i.sstatic.net/UBS2i.png)](https://i.sstatic.net/UBS2i.png)
  
  ```
  May 18 20:36:16  [debug] $backTrace = #0 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(443): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module(471): CRM_Core_Invoke::invoke((Array:3))
  #3 /home/civiprod/public_html/includes/menu.inc(527): civicrm_invoke("ajax", "inline")
  #4 /home/civiprod/public_html/index.php(21): menu_execute_active_handler()
  #5 {main}
  
  May 18 20:42:48  [error] 
  $Fatal Error Details = array:3 [
    "message" => "Invalid {htxt} tag. Wrapped 0 opening-tags and 1 closing-tags."
    "code" => null
    "exception" => RuntimeException {#1347
      #message: "Invalid {htxt} tag. Wrapped 0 opening-tags and 1 closing-tags."
      #code: 0
      #file: "/home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty/plugins/prefilter.htxtFilter.php"
      #line: 32
      trace: {
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty/plugins/prefilter.htxtFilter.php:32 {
          smarty_prefilter_htxtFilter($tpl_source, &$smarty)
          › if ($htxts !== $_htxts) {
          ›   throw new \RuntimeException(sprintf('Invalid {htxt} tag. Wrapped %d opening-tags and %d closing-tags.', $htxts, $_htxts));
          › }
        }
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty_Compiler.class.php:248 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1499 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1432 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php:1271 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Smarty.php:192 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Page/Inline/Help.php:36 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Page/AJAX.php:59 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:285 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:69 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php:36 { …}
        /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module:471 { …}
        /home/civiprod/public_html/includes/menu.inc:527 { …}
        /home/civiprod/public_html/index.php:21 { …}
      }
    }
  ]
  
  May 18 20:42:48  [debug] $backTrace = #0 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(443): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 /home/civiprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(RuntimeException))
  #2 /home/civiprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module(471): CRM_Core_Invoke::invoke((Array:3))
  #3 /home/civiprod/public_html/includes/menu.inc(527): civicrm_invoke("ajax", "inline")
  #4 /home/civiprod/public_html/index.php(21): menu_execute_active_handler()
  #5 {main}
  
  ```
  
  **Tags:** custom-fields
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-05-19. Score: 2 | Accepted answer
  
  Looks like a regression to me, I can confirm it works on 5.58.1 but not dmaster, so not on the most recent version. I'd recommend posting an issue on Gitlab: <https://lab.civicrm.org/groups/dev/-/issues>
  
  > **Comments:**
  > **username_0**: Thanks username_1, issue created - https://lab.civicrm.org/dev/core/-/issues/4303  
  
  ---
  
  