Zum Inhalt springen Zur Seitenleiste springen

Schlagwörter: 

Dieses Thema enthält 0 Antworten, hat 0 Stimmen.

Zuletzt aktualisiert von mirteM Vor 6 Tage, 11 Stunden.

Assistiert von: Dražen.

Autor Beiträge
Januar 9, 2026 um 11:52 a.m. #17715861

mirteM

My error logs are being flooded with hundreds of PHP Deprecated warnings. These warnings all follow the same pattern:
"Implicitly marking parameter $[parameter] as nullable is deprecated, the explicit nullable type must be used instead"
This indicates that the codebase is not fully compliant with PHP 8.1+ type-hinting requirements. Below is a summary of the affected classes and files across the WPML suite.

Affected WPML Core (sitepress-multilingual-cms) components:
Container/Auryn: WPMLContainermake(), WPMLAurynInjector, WPMLAurynCachingReflector.
URL Handling: WPML_Resolve_Object_Url_Helper, WPML_URL_Converter_Url_Helper, WPML_URL_Converter_CPT.
Translations: WPML_Translation_Element_Factory, WPML_Translation_Element, WPML_Translations.
Add-ons/Shared: WPML_Compatibility_Gutenberg, WPML_Language_Switcher, WPML_Admin_Menu_Root.
Vendor Libraries: Errors in WPMLCollectSupportArr, WPMLCollectSupportCollection, and WPMLCoreTwigEnvironment.

Affected String Translation (wpml-string-translation) components:
Infrastructure/Repositories: QueueRepositoryInterface, ComponentRepository, TranslationsRepository.
Filters: WPML_Register_String_Filter, WPML_Autoregister_Save_Strings.
Package Translation: WPML_Package_Translation, WPML_ST_Package_Factory.
Affected Other Components:
WCML: WCML_Downloadable_Products::__construct().
Media: WPML_Media_Save_Translation::__construct().
Installer: OTGS_Installer_Repository, OTGS_Installer_Package_Product_Finder.

Can you confirm if there is a pending update to address these PHP compatibility issues? The sheer volume of logs is making it difficult to debug other site issues. I have already confirmed this is not a conflict with my theme or other non-translation plugins.

I know I could deactivate error logging but I need it to check my own code changes. Only WPML is filling up the logs.