PHP 8.1 | Passing null to parameter #1 ($filename) of type string is deprecated
Closed this issue · 2 comments
Fraenkiman commented
Hello everyone,
Laborix has reported the following via a forum post:
Two PHP warnings appear each time a page is called up:
PHP Warning: Undefined variable $file_meta in .../fpgit1102/fp-plugins/seometataginfo/plugin.seometataginfo.php on line 458
PHP Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in .../fpgit1102/fp-plugins/seometataginfo/plugin.seometataginfo.php on line 458
PHP Warning: Undefined variable $config in .../fpgit1102/fp-plugins/calendar/plugin.calendar.php on line 20
PHP Warning: Trying to access array offset on value of type null in ../fpgit1102/fp-plugins/calendar/plugin.calendar.php on line 20
Many thanks for reporting
Best regards
Frank
Fraenkiman commented
- Fixes: Undefined variable $config in plugin.calendar.php on line 20 (f9cc9ad)
Fraenkiman commented
Fixed with af14f3f