Archived topic
Menü in Desktop nicht mehr angeheftet
11 replies · Started by Thomas on October 22, 2022
Habe seit heute diese Fehlermeldung bekommen.
Warning
: Trying to access array offset on value of type bool in
/var/www/web22935563/html/blog/wp-content/plugins/gp-premium/menu-plus/functions/generate-menu-plus.php
on line
2052
Habe dann herausgefunden, dass diese kommt wenn ich einen Haken bei
Navigation als Kopfbereich verwenden
im Menüpunkt Layout/Header setze
Das Menü ist daher auch nicht mehr in der Desktopansicht angeheftet.
An der Webseite wurde aber auch schon sehr lange nichts am Theme oder im Customizer verändert. Daher weiß ich nicht, woher der Fehler kommt. Könnt ihr da helfen?
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Hello Leo,
At the moment the point
Navigation in header area is not activated.
I also think that I only get the warning in the admin area in the customizer.
But you can see that the menu isn't pinned in the desktop version.
Best regards and thank you
Can you disable all plugins except GP Premium to test first?
We haven't had any other reports on this so further debugging is likely needed.
Done
Hi there,
that error is related to the logo.
Do you have any Logos added in the Customizer ?
Hello Dave,
No I don't added any logo in the customizer.
But one mistake I have found. I put my website on php 8.0. Then the warning started.
Now I put it on php 7.4. Now the warning is not there again.
But the navigation is still not pinned altough I enabled it in the customizer.
Hi Thomas,
To clarify, are you referring to the Sticky Nav setting? If so, have you enabled it in Appearance > Customize > Layout > Sticky Navigation? Reference: https://docs.generatepress.com/article/sticky-navigation/
Yes I am referrring to the Sticky menu
I hav everyting enabled as you described.
In mobile view and tablet view everything works fine. Such in the desktop view it does not work any more.
I see. Can you try #1 here?:
https://docs.generatepress.com/article/debugging-tips/
It would be good to take a backup of your site before doing so.
Ok, found the mistake. Thank you very much. Everthing is fine now.
You're welcome Thomas!