Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header already send #1

Open
boomcar69 opened this issue Oct 3, 2023 · 0 comments
Open

Header already send #1

boomcar69 opened this issue Oct 3, 2023 · 0 comments

Comments

@boomcar69
Copy link

Hello,

I tried to use your script, but it is not working for me.
I getting errors like:
session_start(): Session cannot be started after headers have already been sent in .....
I placed the code above the tag and it showing me the adblock enabled message, when i turn adblocker off, it still showing the adblocker enabled message.

Then i get other errors

Undefined variable $_SESSION in /home/xxxxxxx/public_html/block/no-adblock.php on line 8
[03-Oct-2023 08:12:27 UTC] PHP Warning: Trying to access array offset on value of type null in /home/xxxxxxx/public_html/block/no-adblock.php on line 8

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant