michaeluno / admin-page-framework

Facilitates WordPress plugin and theme development.
http://admin-page-framework.michaeluno.jp/
Other
337 stars 71 forks source link

Many deprecated warnings with php 8.1 #298

Open ProjectMakersDE opened 1 year ago

ProjectMakersDE commented 1 year ago

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):

My new system:

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 commented 1 year ago

Thanks for the report.