Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 1 replies, has 0 voices.

Last updated by Lauren 3 weeks, 3 days ago.

Assisted by: Lauren.

Author Posts
May 19, 2025 at 5:38 pm #17049944

Chad

Background of the issue:
I am trying to reach the main WPML page in the Dashboard. I expected to see the main WPML admin page.

Symptoms:
I got a fatal error screen. The error message is: PHP Fatal error: Uncaught TypeError: WPMLCoreSharedKernelComponentPostApplicationQueryDtoPostTypeDto::__construct(): Argument #2 ($title) must be of type string, null given, called in /nas/content/live/sorenson2021/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/Legacy/Component/Post/Application/Query/TranslatableTypesQuery.php on line 109 and defined in /nas/content/live/sorenson2021/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/Core/SharedKernel/Component/Post/Application/Query/Dto/PostTypeDto.php:26

Questions:
Why am I encountering a fatal error when trying to access the WPML admin page?
How can I resolve the TypeError related to PostTypeDto::__construct()?

May 19, 2025 at 7:29 pm #17050359

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have created a new test site and installed WPML, String Translation and Visual Composer. Please use this link to login to the test site: hidden link

I was not able to recreate the issue here. Please confirm that the test site settings match the test site that I set up, in case there is anything I have different that could be not causing the issue to reproduce. Are there specific steps you take to get the error, or just when you load translation management?

The topic ‘[Closed] PHP Fatal error: Uncaught TypeError: WPMLCoreSharedKernelComponentPostApplicationQuery…’ is closed to new replies.