Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2765557
PHP Warning at wpc-smart-wishlist.php
Closed

Comments

  • Petros Papathomas started the conversation

    I activated your Plugin (WPC smart whishlist v2.6.2) and i get the following PHP Warning all the time...

    PHP Warning:  Cannot modify header information - headers already sent in .../.../plugins/woo-smart-wishlist/wpc-smart-wishlist.php on line 1357

    When I go to the specified page and comment the code at the specified line then there is no problem.

    Code at line 1357: setcookie( 'woosw_key', $new_key, time() + 604800, COOKIEPATH, COOKIE_DOMAIN );


  •  767
    Janilyn replied

    Hi Petros,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Meanwhile, could you please attach more pictures of the issues and a link to your site so that our developer could help you check it out?

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Petros,

    I don't see this warning on my demo page. So, please send me your website info (wp-admin link, username, password) then I can check and fix this problem for you. You also can create a dev/staging site with the same issue then I'll work on it.

    Best regards,
    Dustin

  • Petros Papathomas replied

    Hi Dustin,

    Isn't any other way to do that than providing you access to my site? The site is live now and i do not have a staging site at the moment. So perhaps you could provide me some more info on what could be the problem with the code that causes the issue and where i should look at? In any case the problem comes from that specific line of code into your page. Any suggestions on how to change that in order for the whole code to work smoothly and to accomplish the related functionality of your page?

  •  1,226
    Dustin replied

    Hi Petros,

    Please help us test a new version 2.6.2.1 https://www.dropbox.com/s/zl7170qqpr9lnjz/woo-smart-wishlist-2621.zip?dl=1 on your site and tell me that have the warning or not. 

    I've changed line 1357 as the previous warning but I don't know if it works or not because I don't see any warnings on my website even before changing the code.

    Best regards,
    Dustin

  • Petros Papathomas replied

    I just replaced the page wpc-smart-wishlist.php (and NOT the whole plugin parts structure) with the new one that you provided to me from version 2.6.2.1 and initialized my site...the issue still persists as below message:

    PHP Warning:  Cannot modify header information - headers already sent in .../.../plugins/woo-smart-wishlist/wpc-smart-wishlist.php on line 1356 

    line 1356 ---> setcookie ....