Site logo

Archived topic

Secondary navigation element causing issues in site

13 replies · Started by Carsten on May 8, 2020

Viewing posts 1–14 of 14

Hi there, I have an issue in my BuddyPress installation, not being able to delete messages and updating profile information.

Now I've located the issue to be my secondary navigation element. When this element is unpublished the issue disappears. What can cause this?

The hook element has been working, in terms of navigation, but if I deactivate GP Premium and activate again other issues occurs, menus are inaccessible and page content is missing

https://imgur.com/SunnaOv

There must be something wrong with this markup?

<div class="grid-container sub-navigation grid-parent">
    <ul>
        <li id="messages-personal-li" >
            <a href="https://domain/members/me/messages/" id="user-messages" class="menu-item menu-item-type-post_type menu-item-object-post messages-personal-li button">
        Beskeder <span class="count"><?php echo bp_get_total_unread_messages_count( bp_loggedin_user_id() );?></span>
            </a>
				
        </li> 
    

<li id="visitors-personal-li">
	<a  href="https://domain/members/me/visitors/" id="user-visitors" class="menu-item menu-item-type-post_type menu-item-object-post messages-personal-li button" >
		
		Besøg <span class="count"><?php echo visitors_get_unique_visitors_count( bp_loggedin_user_id() ); ?> </span> 
	</a>

	</li>
			
 
<a class="button" href="https://domain/search">Søg</a>  
			
			</ul>
</div>

Hi there, I'm not sure the issue is related to the element, as it persists with a standard theme as well, unless an element can cause issues in other themes?.

I have to do some more investigation.

Thanks

Hi there,

If the issue exists with the standard theme, then I would recommend reporting this BuddyPress' support :)

Glad you were able to determine the cause!

Hi there, yes I have contacted BP support, thanks.

I get this header error message with debug

Deprecated: login_headertitle har været forældet siden version 5.2.0! Brug login_headertext i stedet. Brug af titelattributten på log ind-logoet anbefales ikke af hensyn til tilgængeligheden. Brug linkteksten i stedet. in /home/domain/public_html/wp-includes/functions.php on line 5088

It’s partly in danish, but can you tell what it means, anyway?
I can translate if necessary

Translated:

Deprecated: login_headertitle has been obsolete since version 5.2.0! Use login_headertext instead. Use of title attributte on log in-logoet is not recommended due to the accessibility. Use link text instead. in /home/domain/public_html/wp-includes/functions.php on line 5088

I don't know what is going on with the header and navigation, both the primary menu and the mobile navigation are displayed at the same time, and page starts from top when content is clicked.

https://imgur.com/JH9AUSJ

Console error 500:

https://imgur.com/qxjE6fc

I'm not sure unfortunately but both of those errors are pointing directly at WP rather than GP.

Have you tried disabling all of your custom functions and plugins to test?

Post deleted

Hi there, I don't know what is causing this issue, but I solved it by adding my footer menu as secondary navigation, and then deselecting this again, then it disappears.

For the off canvas issue, you were right, it was not assigned, apparently theses settings are not stored after deactivation of the plugin.

Ok sounds good!

This archived topic is closed to new replies.