تخطي التنقل
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

المنطقة الزمنية للداعم: Asia/Karachi (GMT+05:00)

يحتوي هذا الموضوع 0 ردود ، لديه 1صوت.

آخر تحديث بواسطة mirteM قبل 3 أسابيع، 4 أيام.

يساعده: Noman.

الكاتب المشاركات
مايو 21, 2025 في 9:31 ص #17056121

mirteM

Background of the issue:
I am trying to run my site on PHP 8.4 and encountered a deprecation notice related to WPML. The notice suggests that the $slash_helper parameter in the WPML_URL_Converter_CPT constructor needs to be explicitly marked as nullable for PHP 8.4 compatibility. Here is the error message: PHP Deprecated: WPML_URL_Converter_CPT::__construct(): Implicitly marking parameter $slash_helper as nullable is deprecated, the explicit nullable type must be used instead in /path/to/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-converter-cpt.php on line 12. Link to a page where the issue can be seen: الرابط المخفي

Symptoms:
I encountered a deprecation notice when running my site on PHP 8.4, indicating that a parameter in the WPML_URL_Converter_CPT constructor needs to be explicitly marked as nullable.

Questions:
Could you please look into this deprecation notice for a future update?

الموضوع ”[مغلق] php 8.4 depreciation notice“ مغلق للردود الجديدة.