admin-page-framework
admin-page-framework copied to clipboard
Many deprecated warnings with php 8.1
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
- new installation of an Ubuntu server
- install NGINX and PHP 8.1
- install wordpress
- 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
Thanks for the report.