Title: Version 1.0.5 php header error
Last modified: August 21, 2016

---

# Version 1.0.5 php header error

 *  Resolved [Kyle Charlton](https://wordpress.org/support/users/ktc_88/)
 * (@ktc_88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/)
 * I just updated the plugin and now I’m getting this php error.
 *     ```
       <br />
       <b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/metalart/public_html/wp-content/plugins/yith-woocommerce-zoom-magnifier/class.yith-wcmg-frontend.php:1) in <b>/home/metalart/public_html/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php</b> on line <b>63</b><br />
       ```
   
 * I tried to reinstall the plugin but it did not fix the problem.
 * [http://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/](http://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/version-105-php-header-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/version-105-php-header-error/page/2/?output_format=md)

 *  [Azuro](https://wordpress.org/support/users/azuro/)
 * (@azuro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097197)
 * I have the same problem.
 *  [rjwinter](https://wordpress.org/support/users/rjwinter/)
 * (@rjwinter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097231)
 * Me too:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /hp/al/aa/hg/www/cigarboxguitars.de/wp-content/plugins/yith-woocommerce-zoom-
   magnifier/class.yith-wcmg-frontend.php:1) in /hp/al/aa/hg/www/xxx.de/wp-content/
   plugins/woocommerce/classes/class-wc-session-handler.php on line 63
 * Warning: Cannot modify header information – headers already sent by (output started
   at /hp/al/aa/hg/www/xxx.de/wp-content/plugins/yith-woocommerce-zoom-magnifier/
   class.yith-wcmg-frontend.php:1) in /hp/al/aa/hg/www/cigarboxguitars.de/wp-content/
   plugins/woocommerce/woocommerce-functions.php on line 1381
 * Warning: call_user_func_array() [function.call-user-func-array]: First argument
   is expected to be a valid callback, ‘yit_print_custom_style’ was given in /hp/
   al/aa/hg/www/xxx.de/wp-includes/plugin.php on line 406
 * It was working yesterday until I updated,
 * Regards!
 *  [rjwinter](https://wordpress.org/support/users/rjwinter/)
 * (@rjwinter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097241)
 * Is there a link to the previous version?
 *  [Jmantis](https://wordpress.org/support/users/jmantis/)
 * (@jmantis)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097248)
 * oh… I thought I did something wrong… But I see that everyone else has the same
   problem after update. Hopefully they are going to fix it soon.
 *  [DomainDomino](https://wordpress.org/support/users/domaindomino/)
 * (@domaindomino)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097254)
 * [Previous Versions](http://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/developers/)
 *  [rjwinter](https://wordpress.org/support/users/rjwinter/)
 * (@rjwinter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097278)
 * Thank you. Just installed the previous version and am ok now.
 *  [Caleb Weeks](https://wordpress.org/support/users/calebweeks/)
 * (@calebweeks)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097287)
 * I, too, had a similar/the same error running Version 1.0.5.
 * These were our errors:
 * > PHP Warning: Cannot modify header information – headers already sent by (output
   > started at …wp-content/plugins/yith-woocommerce-zoom-magnifier/class.yith-wcmg-
   > frontend.php:1) in …/wp-content/plugins/woocommerce/classes/class-wc-session-
   > handler.php on line 63
   > PHP Warning: Cannot modify header information – headers already sent by (output
   > started at …/wp-content/plugins/yith-woocommerce-zoom-magnifier/class.yith-
   > wcmg-frontend.php:1) in …/wp-content/plugins/woocommerce/classes/class-wc-session-
   > handler.php on line 63
   > PHP Warning: Cannot modify header information – headers already sent by (output
   > started at …/wp-content/plugins/yith-woocommerce-zoom-magnifier/class.yith-
   > wcmg-frontend.php:1) in …/wp-includes/pluggable.php on line 875
 * Apparently, the plugin conflicts with the wordpress’ URL rewriting logic and 
   does not allow the plugin dispatcher to finish its work and to rewrite the URL.
 * In practice, if a visitor types in “thecopperfoxgallery.com/shop” they would 
   get a blank page. In normal circumstances, a trailing slash (“/”) gets added,
   as in “thecopperfoxgallery.com/shop/”. This seems to be the error.
 * Hope that feedback helps towards the next update!
 * Thanks, yith, for a great plugin 🙂
 * PS Our host, Namecheap, allowed output buffering (by modifying our php.ini file),
   so all the headers will be stored and allowed to be over-sent, and now any existing
   link will work with or without slash. They noted, however, that it is just like
   a workaround and this particular error should be reported to the plugin developers.
   Thanks guys!
 * PSS The theme used for the site referenced above is [The Retailer](http://goo.gl/hxFdqh),
   which we have been very pleased with.
 *  [azhsetiawan](https://wordpress.org/support/users/azhkuro/)
 * (@azhkuro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097300)
 * I have the same problem after updated this plugin (version 1.0.5)
 * I got no solutions until checked the plugin directory, filename class.yith-wcmg-
   frontend.php
 * Open the file and delete “space” before **<?php**
    refresh your browser. That
   works for me!
 * Hope that helps 🙂
 *  [newhalo214](https://wordpress.org/support/users/newhalo214/)
 * (@newhalo214)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097307)
 * I have the same problem.
 *  [newhalo214](https://wordpress.org/support/users/newhalo214/)
 * (@newhalo214)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097308)
 * thank you azhkuro! I fixed!
 *  [azhsetiawan](https://wordpress.org/support/users/azhkuro/)
 * (@azhkuro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097309)
 * [@newhalo214](https://wordpress.org/support/users/newhalo214/)
 * I’m glad to hear it works for you 🙂
 *  [wpler](https://wordpress.org/support/users/wpler/)
 * (@wpler)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097312)
 * Thanks [@azhkuro](https://wordpress.org/support/users/azhkuro/), this works 😉
 *  [Azuro](https://wordpress.org/support/users/azuro/)
 * (@azuro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097313)
 * Thank [@azhkuro](https://wordpress.org/support/users/azhkuro/)! I fixed…
 *  Thread Starter [Kyle Charlton](https://wordpress.org/support/users/ktc_88/)
 * (@ktc_88)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097319)
 * I guess we can count this as resolved.
    There are two solutions.
 * **1:** Use version 1.0.4 found in the [Developers](http://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/developers/)
   section.
 * **2:** Do as azhkuro suggests-
 * > I got no solutions until checked the plugin directory, filename class.yith-
   > wcmg-frontend.php
   > Open the file and delete “space” before <?php
   >  refresh your browser. That works
   > for me!
 *  [Jmantis](https://wordpress.org/support/users/jmantis/)
 * (@jmantis)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/#post-4097326)
 * Actually there is one more solution: update to 1.0.6 🙂

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/version-105-php-header-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/version-105-php-header-error/page/2/?output_format=md)

The topic ‘Version 1.0.5 php header error’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-zoom-magnifier/assets/icon.svg?rev=3055439)
 * [YITH WooCommerce Product Gallery & Image Zoom](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-zoom-magnifier/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-zoom-magnifier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-zoom-magnifier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-zoom-magnifier/reviews/)

 * 17 replies
 * 9 participants
 * Last reply from: [azhsetiawan](https://wordpress.org/support/users/azhkuro/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/version-105-php-header-error/page/2/#post-4097328)
 * Status: resolved