Answers.Body: <p>This case has been solved in adding this two lines in the wp_config.php file after the define section:</p>
  
  <p><em>ini_set('display_errors','Off');</em></p>
  
  <p><em>ini_set('error_reporting', E_ALL );</em></p>
  
  <p>It is also important to solve it because it can have consequences for CiviCRM (for us in the import process).
  Hope this helps</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-20T08:31:07.453Z
Answers.LastActivityDate: 2020-02-20T08:45:21.397Z
Answers.LastEditDate: 2020-02-20T08:45:21.397Z
Answers.UserDisplayName: Patrick
Body: <p>I'm getting "set_time_limit() has been disabled for security reasons"  when importing a CSV file into my contacts.</p>
  
  <p>The exact warning is "set_time_limit() has been disabled for security reasons in /home/clients/9f584f50407ada97b7c17ed3b0bbc0f0/crm/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Controller.php on line 31"</p>
  
  <p>I use CiviCRM v5.21.0 under WP last version</p>
  
  <p>Any idea will be much appreciated. Thanks</p>
  
Tags: <wordpress><php>
Title: Getting "set_time_limit() has been disabled for security reasons" when importing a CSV file into contacts
ThreadText: # Getting "set_time_limit() has been disabled for security reasons" when importing a CSV file into contacts
  
  (Asked by: username_0 on 2020-02-18)
  
  I'm getting "set\_time\_limit() has been disabled for security reasons" when importing a CSV file into my contacts.
  
  The exact warning is "set\_time\_limit() has been disabled for security reasons in /home/clients/9f584f50407ada97b7c17ed3b0bbc0f0/crm/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Controller.php on line 31"
  
  I use CiviCRM v5.21.0 under WP last version
  
  Any idea will be much appreciated. Thanks
  
  **Tags:** wordpress, php
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-02-20. Score: 0 | Accepted answer
  
  This case has been solved in adding this two lines in the wp\_config.php file after the define section:
  
  *ini\_set('display\_errors','Off');*
  
  *ini\_set('error\_reporting', E\_ALL );*
  
  It is also important to solve it because it can have consequences for CiviCRM (for us in the import process).
  Hope this helps
  
  
  ---
  
  