Issue with core module.inc

Created on 31 October 2023, about 1 year ago
Updated 26 December 2023, about 1 year ago

Core Version: 7.98
PHP version: 8.1

Deprecated function: Return type of XMLSitemapWriter::startElement($name, $root = false) should either be compatible with XMLWriter::startElement(string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 342 of /var/www/html/docroot/includes/module.inc).

Deprecated function: Return type of XMLSitemapWriter::writeElement($name, $content = null) should either be compatible with XMLWriter::writeElement(string $name, ?string $content = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 342 of /var/www/html/docroot/includes/module.inc).

Deprecated function: Return type of XMLSitemapWriter::startDocument($version = '1.0', $encoding = 'UTF-8', $standalone = null) should either be compatible with XMLWriter::startDocument(?string $version = "1.0", ?string $encoding = null, ?string $standalone = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 342 of /var/www/html/docroot/includes/module.inc).

Deprecated function: Return type of XMLSitemapWriter::endDocument() should either be compatible with XMLWriter::endDocument(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 342 of /var/www/html/docroot/includes/module.inc).

๐Ÿ’ฌ Support request
Status

Closed: works as designed

Version

7.0 โšฐ๏ธ

Component
Otherย  โ†’

Last updated about 10 hours ago

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia arif.zisu Kolkata

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024