• 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.

    https://www.ads-software.com/plugins/yith-woocommerce-zoom-magnifier/

Viewing 15 replies - 1 through 15 (of 17 total)
  • I have the same problem.

    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!

    Is there a link to the previous version?

    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.

    Thank you. Just installed the previous version and am ok now.

    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, which we have been very pleased with.

    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 ??

    I have the same problem.

    thank you azhkuro! I fixed!

    @newhalo214

    I’m glad to hear it works for you ??

    Thanks @azhkuro, this works ??

    Thank @azhkuro! I fixed…

    Thread Starter Kyle Charlton

    (@ktc_88)

    I guess we can count this as resolved.
    There are two solutions.

    1: Use version 1.0.4 found in the 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!

    Actually there is one more solution: update to 1.0.6 ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Version 1.0.5 php header error’ is closed to new replies.