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()?
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.