Title: Error: Cannot modify header information
Last modified: May 23, 2018

---

# Error: Cannot modify header information

 *  Resolved [kryniol](https://wordpress.org/support/users/kryniol/)
 * (@kryniol)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/erro-cannot-modify-header-information/)
 * Hi!
    I’ve recently installed WordPress and tried to add Phlox default theme dependent
   on your plugin. After activating it there are 2 errors visible all the time in
   admin panel:
 * Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/
   plugins/master-slider/includes/classes/class-msp-main-widget.php on line 95
 * and
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/html/wp-content/plugins/master-slider/includes/classes/class-msp-
   main-widget.php:95) in /var/www/html/wp-includes/pluggable.php on line 1216
 * It’s worth mentioning that the fresh WordPress instance is run on PHP 7.2. Obviously
   I tried to disable all plugins except of Master Slider, the error persists. Also
   I switched to default WordPress theme and it doesn’t help either. The same thing
   happens on PHP 7.1, I didn’t check any lower version.
    Is Master Slider compatible
   with PHP 7? Could you advice what else can I do to solve this issue?
 * Thanks in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferro-cannot-modify-header-information%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [averta support](https://wordpress.org/support/users/averta_support/)
 * (@averta_support)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/erro-cannot-modify-header-information/#post-10326072)
 * Hi,
 * Thank you for choosing us.
 * Master Slider and Phlox are completely compatible with PHP 7.0. But we do not
   test 7.1 and 7.2 versions completely. If you downgrade to 7.0, it will be ok.
 * However, we will fix that issue in the next few days.
 * Have a great weekend.
 * Best,

Viewing 1 replies (of 1 total)

The topic ‘Error: Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/master-slider/assets/icon-256x256.png?rev=1638064)
 * [Master Slider - Responsive Touch Slider](https://wordpress.org/plugins/master-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/master-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/master-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/master-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/master-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/master-slider/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [averta support](https://wordpress.org/support/users/averta_support/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/erro-cannot-modify-header-information/#post-10326072)
 * Status: resolved