A PHP Error was encountered

Severity: Warning

Message: setcookie() expects parameter 2 to be string, array given

Filename: controllers/Ajax.php

Line Number: 166

Backtrace:

File: /home/filtr186/public_html/allsafety.fr/application/controllers/Ajax.php
Line: 166
Function: setcookie

File: /home/filtr186/public_html/allsafety.fr/application/controllers/Ajax.php
Line: 38
Function: cookie

File: /home/filtr186/public_html/allsafety.fr/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/filtr186/public_html/allsafety.fr/system/core/Exceptions.php:271)

Filename: controllers/Ajax.php

Line Number: 169

Backtrace:

File: /home/filtr186/public_html/allsafety.fr/application/controllers/Ajax.php
Line: 169
Function: header

File: /home/filtr186/public_html/allsafety.fr/application/controllers/Ajax.php
Line: 38
Function: cookie

File: /home/filtr186/public_html/allsafety.fr/index.php
Line: 316
Function: require_once

{"success":true}