Skip to content

[Bug]: Trying to activate this with MLP 5.0.1 causes a fatal type mismatch error #18

@goldenapples

Description

@goldenapples

Description of the bug

I downloaded this plugin to try and use it alongside MLP to manage syncing and translating of Yoast data.

I'm not able to activate the plugin because of a type mismatch error.

 [25-Nov-2025 20:53:02 UTC] PHP Fatal error:  Declaration of Inpsyde\MultilingualPress\YoastSeoSync\Core\ServiceProvider::register(Inpsyde\MultilingualPress\Framework\Service\Container $container) must be compatible with Inpsyde\MultilingualPress\Framework\Service\ServiceProvider::register(Inpsyde\MultilingualPress\Framework\Service\Container $container): void in /usr/src/app/content/plugins/multilingualpress-yoast-seo-sync/src/Core/ServiceProvider.php on line 29

Reproduction instructions

Install version 2.1.2 of this plugin on a site running version 5.0.1 of MultilingualPress.

Try to network-activate this plugin.

Observe the PHP fatal error noted above.

Expected behavior

I'd expect this plugin to be compatible with the latest MLP, include this function signature.

Environment info

No response

Relevant log output

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions