8000
Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Passing null to setcookie() argument #5 (domain) deprecated #926

Description

@Kudratullah

Describe the bug

PHP Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated in /**/wpcontent/plugins/anspress-question-answer/includes/class/class-session.php on line 96

To Reproduce

Run php 8.3 with error logging enabled.

Expected behavior

There should be no error

Server

  • OS: Ubuntu 24.04 LTS
  • PHP v8.3.8 (fpm)
  • Nginx v1.26.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0