• Resolved JIMARKO

    (@jimarko)


    After installing the new version 3.1.28
    content file PHP error_log.txt

    Cannot modify header information – headers already sent in /plugins/download-manager/libs/class.Session.php on line 24

    WP: 5.7.2
    PLUGIN WPDM: 3.1.28

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Probably any other plugin there is generating unexpected output. May you please try deactivating other plugins one after another and check which plugin is generating the output. Also, you may let me know which other plugins and the theme you are using there. I shall try to regenerate the issue on my side.

    Thread Starter JIMARKO

    (@jimarko)

    I tried disabling these main plugins:
    Broken Link Checker
    GA Google Analytics
    Email Subscribers & Newsletters
    GDPR Cookie Consent

    and the condition is still the same.

    Total number of plugins: 26

    Thread Starter JIMARKO

    (@jimarko)

    I commented in the line for cookies in the file class.Session.php.
    Line: 24 (or 27)
    /** setcookie(‘__wpdm_client’, $deviceID);*/

    and the error message no longer appears.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Yes, I know, but setcookie function is throwing an error due to another plugin or active theme generating an unexpected output. However, in the next update, we shall bypass the setcookie function when the header is already sent.

    However, you still need the find which plugin generating unexpected output, as that may cause conflict with other plugin’s functionality.

    Thread Starter JIMARKO

    (@jimarko)

    I run other websites where also use this plugin. There are fewer plugins, so I’ll try to find out.

    Hi @jimarko
    If the problem resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.
    Looking forward to hearing from you soon.
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘error in file class.Session.php’ is closed to new replies.