admin-page-framework icon indicating copy to clipboard operation
admin-page-framework copied to clipboard

Many deprecated warnings with php 8.1

Open ProjectMakersDE opened this issue 2 years ago • 1 comments

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

ProjectMakersDE avatar Dec 15 '22 16:12 ProjectMakersDE

Thanks for the report.

michaeluno avatar Dec 16 '22 15:12 michaeluno