Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Kirby 4 #39

Closed
rantonse opened this issue Aug 15, 2023 · 1 comment
Closed

Compatibility with Kirby 4 #39

rantonse opened this issue Aug 15, 2023 · 1 comment

Comments

@rantonse
Copy link

Hi, thanks for a great plugin! I was trying it out with Kirby 4 alpha 6 (https://github.com/getkirby/kirby/tree/4.0.0-alpha.6), and I encountered the following error.

Whoops\Exception\ErrorException thrown with message "Declaration of ModulePage::parents() must be compatible with Kirby\Cms\Page::parents(): Kirby\Cms\Pages"

Stacktrace:
#2 Whoops\Exception\ErrorException in [...]/site/plugins/kirby-modules/lib/models.php:35
#1 Whoops\Run:handleError in [...]/kirby/vendor/filp/whoops/src/Whoops/Run.php:514
#0 Whoops\Run:handleShutdown in [internal]:0
@medienbaecker
Copy link
Owner

As of Kirby Modules 2.6.0 it is now fully compatible with Kirby 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants