Title: Error message after WordPress update: Cannot set max execution time limit
Last modified: March 5, 2019

---

# Error message after WordPress update: Cannot set max execution time limit

 *  Resolved [rosbach](https://wordpress.org/support/users/rosbach/)
 * (@rosbach)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-message-after-wordpress-update-cannot-set-max-execution-time-limit/)
 * After updating to the latest version of WordPress, I get this error message in
   the top when I’m in the Control Panel:
 * “Cannot set max execution time limit due to system policy in /customers/2/2/5/
   soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php on 
   line 64 Warning: Cannot modify header information – headers already sent by (
   output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/
   subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/
   wp-admin/includes/misc.php on line 1198”
 * It provides another problem after i installed the Force Login Plugin. When “not-
   logged-in-users” then try accessing my website they don’t get a chance to login,
   but only this message:
 * “Warning: set_time_limit(): Cannot set max execution time limit due to system
   policy in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/
   subscribe2.php on line 64 Warning: Cannot modify header information – headers
   already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.
   www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.
   dk/httpd.www/wp-includes/pluggable.php on line 1251 Warning: Cannot modify header
   information – headers already sent by (output started at /customers/2/2/5/soenderborggade.
   dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/
   2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php on line 1254”
 * Does anybody know what I should do?
 * – Michael

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-message-after-wordpress-update-cannot-set-max-execution-time-limit/#post-11287411)
 * [@rosbach](https://wordpress.org/support/users/rosbach/)
 * It seems your hosting provider have disable the set_time_limit() function.
 * You have 2 optiosn:
 * 1. Speak to your hosting provider and ask them to enable this function.
    2. Edit
   the Subscribe2 code. It’s pretty easy, open the subscribe2.php file in wp-content/
   plugins/subscribe2/ in the Plugin Editor in the WordPress admin area and find
   the following line: `set_time_limit( 600 );`
 * Change it to:
    ‘// set_time_limit( 600 );’
 * And then save.
 * You may need to use a file editor on your computer if these steps fail for some
   reason.
 *  Thread Starter [rosbach](https://wordpress.org/support/users/rosbach/)
 * (@rosbach)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-message-after-wordpress-update-cannot-set-max-execution-time-limit/#post-11293838)
 * Hi MattyRob
 * Thanks for your help.
 * Now the situation has gotten worse, since I now can’t log on to the webpage and
   therefore can’t enter the control panel and edit the Subscribe2 code, as you 
   proposed.
 * When I go to the webpage (both on Google Chrome and Safari) I see our normal 
   starting page but with this error message written in the top:
 * “Warning: set_time_limit(): Cannot set max execution time limit due to system
   policy in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/
   subscribe2.php on line 64”
 * When I try to log on using Google Chrome, I get the error message nr 2 from my
   first post.
 * When I try to log on using Safari, it says there has been an error, gives me 
   the option to try logging on again, and present following in the top of the page:
 * “Warning: set_time_limit(): Cannot set max execution time limit due to system
   policy in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/
   subscribe2.php on line 64 Warning: Cannot modify header information – headers
   already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.
   www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.
   dk/httpd.www/wp-login.php on line 447 Warning: Cannot modify header information–
   headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/
   httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/
   5/soenderborggade.dk/httpd.www/wp-login.php on line 462 Warning: Cannot modify
   header information – headers already sent by (output started at /customers/2/
   2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:
   64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php
   on line 928 Warning: Cannot modify header information – headers already sent 
   by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/
   plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/
   httpd.www/wp-includes/pluggable.php on line 929 Warning: Cannot modify header
   information – headers already sent by (output started at /customers/2/2/5/soenderborggade.
   dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/
   2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php on line 930”
 * Should I still try to contact my hosting provider or do you have a tip for how
   I can lon on and acces the control panel in some way?
 * I have backups of the webpage from the programme BackWPup, but it seems like 
   I would need to buy their software to use a backup?
 * /Michael
 *  Thread Starter [rosbach](https://wordpress.org/support/users/rosbach/)
 * (@rosbach)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-message-after-wordpress-update-cannot-set-max-execution-time-limit/#post-11311663)
 * Hi again
 * Just for feedback.
    I figured out how to acces the edit the Subscribe2 code. 
   I tried replacing the line as you suggested, but it then reported an error:
 * Parse error: syntax error, unexpected T_REQUIRE_ONCE
 * I then deleted all of the coding including and below the “set time limit” and
   the site now seems to work, for now at least 🙂
 * /Michael

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error message after WordPress update: Cannot set max execution time limit’
is closed to new replies.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [rosbach](https://wordpress.org/support/users/rosbach/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/error-message-after-wordpress-update-cannot-set-max-execution-time-limit/#post-11311663)
 * Status: resolved