• Resolved thacklaender

    (@thacklaender)


    I recently installed the ‘Awesome support’ plugin on my WordPress v6.4.2 running PHP 8.2.13.
    I regularly get the warning in the debug log:

    Warning: session_start(): Session cannot be started after headers have already been sent in /var/www/html/wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/wp-session-manager.php on line 147

    Unfortunately, I can’t estimate the meaning, but I would at least like to leave the possibility to check and possibly fix the error here.

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jawad Ahmed

    (@jawada)

    Hi there,

    The warning you’re encountering with the ‘Awesome support’ plugin in your WordPress setup is a common PHP session issue. It occurs because session_start() is being called after some content, likely HTML or whitespace, has already been sent to the browser. Since PHP sessions need to modify headers, they must be started before any output is sent.

    Here are some steps to address this issue:

    Update Plugin and WordPress: Ensure both WordPress and the ‘Awesome support’ plugin are updated to their latest versions.

    Inspect Theme and Plugins: Deactivate other plugins and switch to a default theme temporarily to see if the problem persists. This can help isolate the issue.

    If the issue persists, please Enable WordPress debugging to get more detailed error messages. Add the following lines to your wp-config.php file:

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

    Please send us that file with your current PHP, WP and Awesome Support Versions details.

    Warm Regards

    Plugin Author Jawad Ahmed

    (@jawada)

    Hello @thacklaender ,

    As we haven’t received a response from you in a while, I will consider this thread resolved. If you have any further questions or require assistance, please don’t hesitate to reach out to us.

    Best regards,

    majidfatemypour

    (@majidfatemypour)

    Hello friend, I have just learned php programming and I still don’t have full mastery. I have advanced my program to some extent and I have used NetBeans to write the codes. Now that I have transferred the codes to my host, this error is displayed, while I did not have this problem before in the NetBeans program. can you help me? It is better to know that I do not use WordPress. I would be grateful if you could help me

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.