Skip to content

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /class-two-factor-core.php on line 657 #761

@masteradhoc

Description

@masteradhoc

Describe the bug

When visiting the page /wp-admin/users.php i get this deprecated message:

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/vhosts/wootest.precube.li/httpdocs/wp-content/plugins/two-factor/class-two-factor-core.php on line 657

Steps to Reproduce

  1. go to /wp-admin/users.php
  2. setup totp, backup codes and email codes for a user
  3. go to /wp-admin/users.php
  4. see the deprecation message

Screenshots, screen recording, code snippet

No response

Environment information

  • newest wordpress
  • php 8.5

Please confirm that you have searched existing issues in this repository.

Yes

Please confirm that you have tested with all plugins deactivated except Two-Factor.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions