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

Error with polylang #79

Closed
cfab opened this issue Apr 23, 2024 · 3 comments
Closed

Error with polylang #79

cfab opened this issue Apr 23, 2024 · 3 comments

Comments

@cfab
Copy link

cfab commented Apr 23, 2024

Hello,

As soon as you activate "polylang" plugin, you systematically get the following error:

Log1x\Navi\MenuBuilder::handle(): Argument #2 ($parent) must be of type int, string given, called in...

Would be great if Navi v3 continues to work with polylang as before.

(I am using latest sage, acorn and navi versions as of today.)

Thank you !

@Log1x
Copy link
Owner

Log1x commented Apr 23, 2024

Can you potentially tell me what the string looks like that it is passing? I'm assuming it's the post id prefixed/suffixed with the locale or something?

@Log1x
Copy link
Owner

Log1x commented Apr 23, 2024

composer require log1x/navi:dev-fix/79

Let me know if this works and I can merge + release.

@cfab
Copy link
Author

cfab commented Apr 23, 2024

That was fast ;-) And it works.
Thank you

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