Cannot modify header information suppressed warning
-
There is an implementation issue,
setcookie
is called at incorrect time.In the footer hook
cli_set_category_cookies
is ultimately called and in turn this callssetcookie
.Note that
setcookie
cannot be called here as the page has already started sending to the client, cookies must be set before the page starts being output.“Cannot modify header information – headers already sent” is the error that would be displayed / logged if it wasn’t suppressed by the
@
in the@setcookie(...
call.This indicates whatever this code thinks it’s doing, it’s actually not as no cookie is ever set.
The page I need help with: [log in to see the link]
- The topic ‘Cannot modify header information suppressed warning’ is closed to new replies.