Update PHP to 8.1
Will do this during move to SiteHost. This issue is to track PHP deprecations, notices, warnings, errors. Initially launched on PHP 8.2 container but dropping back to PHP 8.1.16(?) causes less deprecation drama.
-
PHP 8.2 Deprecated function: Creation of dynamic property Drupal\xautoload\Adapter\ClassFinderAdapter::$defaultBehavior is deprecated in Drupal\xautoload\Adapter\ClassFinderAdapter->__construct() (line 61 of /container/application/{website}/sites/all/modules/contrib/xautoload/src/Adapter/ClassFinderAdapter.php).
#3346040-
#134 (closed) Update XAutoload to 7.x-5.9
-
-
PHP 8.2 Deprecated function: Creation of dynamic property Drupal\xautoload\Adapter\ClassFinderAdapter::$psr0Behavior is deprecated in Drupal\xautoload\Adapter\ClassFinderAdapter->__construct() (line 62 of /container/application/{website}/sites/all/modules/contrib/xautoload/src/Adapter/ClassFinderAdapter.php).
#3346040-
#134 (closed) Update XAutoload to 7.x-5.9
-
-
Deprecated function: Return type of XMLSitemapWriter::openUri($uri) should either be compatible with XMLWriter::openUri(string $uri): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 342 of /container/application/public/includes/module.inc). - Update XML Sitemap to 7.x-2.x-dev
-
Warning: Trying to access array offset on value of type null in bootstrap_pager() (line 47 of /container/application/public/sites/all/themes/bootstrap/templates/system/pager.func.php).
Warning: Trying to access array offset on value of type null in bootstrap_pager() (line 53 of /container/application/public/sites/all/themes/bootstrap/templates/system/pager.func.php).
Warning: Trying to access array offset on value of type null in bootstrap_pager() (line 95 of /container/application/public/sites/all/themes/bootstrap/templates/system/pager.func.php).
-
Warning: Trying to access array offset on value of type bool in oauth2_server_init() (line 15 of /container/application/public/sites/all/modules/contrib/oauth2_server/oauth2_server.module
- Do we still need oauth?
-
Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in http_auth_settings_form() (line 46 of /container/application/public/sites/all/modules/contrib/http_auth/http_auth.module).
Edited by J Hunt