Answers.Body: <p>This warning will be <a href="https://github.com/civicrm/civicrm-core/pull/26467" rel="nofollow noreferrer">fixed in future versions</a>. In the meantime, changing the error_reporting level should remove it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-06-14T21:25:31.597Z
Answers.Text: Sorry but I understand this, but how can I error_reporting level in the CiviCRM installation in WordPress if I don't already have the line 'define( 'WP_DEBUG', false );' in the wp-config.php file?
Answers.UserDisplayName: Suri Gang's Hallen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-06-07T14:47:39.653Z
Answers.LastActivityDate: 2023-06-07T14:47:39.653Z
Answers.UserDisplayName: Lars SG
Body: <p>I'm trying to <strong>export contacts</strong> from the list in CiviCRM but got a visual warning which does not let me proceed:</p>
  <blockquote>
  <p>Warning: Undefined array key &quot;merge_same_household&quot; in /bitnami/wordpress/wp-content/uploads/civicrm/templates_c/es_MX/%%00/00A/00AEAD8F%%Select.tpl.php on line 86</p>
  <p>Warning: Trying to access array offset on value of type null in /bitnami/wordpress/wp-content/uploads/civicrm/templates_c/es_MX/%%00/00A/00AEAD8F%%Select.tpl.php on line 86</p>
  </blockquote>
  <p>I've navigated to the path and opened the file <em><strong>&quot;00AEAD8F%%Select.tpl.php&quot;</strong></em> on line <strong>86</strong>.</p>
  <pre><code>  &lt;div class=&quot;content crm-content-mergeSameHousehold&quot;&gt;
      &amp;nbsp;&lt;?php echo $this-&gt;_tpl_vars['form']['merge_same_household']['html']; ?&gt;
    &lt;/div&gt;
  </code></pre>
  <p>I'm not sure what the problem is. I was thinking about <strong>replacing the file</strong> with a new one downloaded from the repository <strong>or</strong> even <strong>deleting</strong> it although I'm not sure.</p>
  <p><a href="https://i.sstatic.net/AJs7z.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AJs7z.png" alt="enter image description here" /></a>
  <a href="https://i.sstatic.net/uWbaG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uWbaG.png" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-06T19:51:34.900Z
Comments.Text: What happens when you click Continuar? Those are warnings and not errors, so in theory you should be able to continue. Is it possible that the PHP error_reporting level is set on your server?
  Nothing wrong with that file.
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-06T21:48:40.747Z
Comments.Text: @LarsSG If I click "continue" everything works as normal, however this "warning" was not showing up before and it's kind of intriguing to see this. My server is a Virtual Machine with a Bitnami WordPress stack.
Comments.UserDisplayName: Suri Gang's Hallen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-06T22:00:49.937Z
Comments.Text: It's just PHP saying that it's trying to look up something that is empty and giving a warning because it is empty (which is more like maybe something isn't working as expected rather than a real error). In this case it is that PHP versions have changed over time and what once was OK now generates a warning.
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-06T22:06:30.960Z
Comments.Text: I would check in php.ini and see if perhaps your error_reporting setting has changed. Also check WP_DEBUG_DISPLAY in wp-config and error_reporting in civicrm.settings.php.
Comments.UserDisplayName: Lars SG
Tags: <wordpress><error><php><templates><custom-templates>
Title: Undefined array key "merge_same_household"
ThreadText: # Undefined array key "merge_same_household"
  
  (Asked by: username_0 on 2023-06-06)
  
  I'm trying to export contacts from the list in CiviCRM but got a visual warning which does not let me proceed:
  
  Warning: Undefined array key "merge_same_household" in /bitnami/wordpress/wp-content/uploads/civicrm/templates_c/es_MX/%%00/00A/00AEAD8F%%Select.tpl.php on line 86
  Warning: Trying to access array offset on value of type null in /bitnami/wordpress/wp-content/uploads/civicrm/templates_c/es_MX/%%00/00A/00AEAD8F%%Select.tpl.php on line 86
  
  I've navigated to the path and opened the file "00AEAD8F%%Select.tpl.php" on line 86.
    
       _tpl_vars['form']['merge_same_household']['html']; ?>
    
  
  I'm not sure what the problem is. I was thinking about replacing the file with a new one downloaded from the repository or even deleting it although I'm not sure.
  
  **Tags:** wordpress, error, php, templates, custom-templates
  
  > **Comments:**
  > **username_1**: What happens when you click Continuar? Those are warnings and not errors, so in theory you should be able to continue. Is it possible that the PHP error_reporting level is set on your server? Nothing wrong with that file.  
  > **username_0**: @LarsSG If I click "continue" everything works as normal, however this "warning" was not showing up before and it's kind of intriguing to see this. My server is a Virtual Machine with a Bitnami WordPress stack.  
  > **username_1**: It's just PHP saying that it's trying to look up something that is empty and giving a warning because it is empty (which is more like maybe something isn't working as expected rather than a real error). In this case it is that PHP versions have changed over time and what once was OK now generates a warning.  
  > **username_1**: I would check in php.ini and see if perhaps your error_reporting setting has changed. Also check WP_DEBUG_DISPLAY in wp-config and error_reporting in civicrm.settings.php.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-06-07. Score: 2 | Accepted answer
  
  This warning will be [fixed in future versions](https://github.com/civicrm/civicrm-core/pull/26467). In the meantime, changing the error\_reporting level should remove it.
  
  > **Comments:**
  > **username_0**: Sorry but I understand this, but how can I error_reporting level in the CiviCRM installation in WordPress if I don't already have the line 'define( 'WP_DEBUG', false );' in the wp-config.php file?  
  
  ---
  
  