cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

[BUG]: PHP Deprecated - setcookie() when using cookies->delete

Open sinbadxiii opened this issue 3 years ago • 0 comments

Hi

When using the $this->cookies->get("name")->delete();, a deprecation warning is issued: PHP Deprecated: setcookie(): Passing null to parameter #2 ($value) of type string is deprecated in

Details

  • Phalcon version: Phalcon v5 RC4
  • PHP Version: PHP 8.1
  • Operating System:Linux Mint 20
  • Installation type: Compiling from source
  • Zephir version (if any): 0.16.0
  • Server: Nginx

sinbadxiii avatar Aug 11 '22 06:08 sinbadxiii