Skip to content

Many deprecated warnings with php 8.1 #298

@ProjectMakersDE

Description

@ProjectMakersDE

Description

After reinstalling my website, I get deprecated warnings in the admin area like:

: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in
: Automatic conversion of false to array is deprecated in
: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in
: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in

Steps to reproduce

  1. new installation of an Ubuntu server
  2. install NGINX and PHP 8.1
  3. install wordpress
  4. Install admin-page-framework plugin
    Then the errors appear.

Screenshots, screen recording clips, or code snippets

No response

Environment

My old system (no errors / warnings):

  • Ubuntu 20.04
  • Apache2
  • PHP 8.0

My new system:

  • Ubuntu 22.04
  • NGINX
  • PHP 8.1

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

Yes

Please confirm that the problem occurs with the default theme and all the plugins deactivated except "Admin Page Framework - Loader".

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions