Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many deprecated warnings with php 8.1 #298

Open
ProjectMakersDE opened this issue Dec 15, 2022 · 1 comment
Open

Many deprecated warnings with php 8.1 #298

ProjectMakersDE opened this issue Dec 15, 2022 · 1 comment
Labels

Comments

@ProjectMakersDE
Copy link

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

@michaeluno
Copy link
Owner

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants