• Hi,

    I updated to WordPress 4.1 and from now the admin bar on pages, when logged in as admin, is not showing any more. I tried the “usual suspects” but the <?php wp_footer(); ?> is in the footer and in functions.php I suppress the admin bar only to normal loggedin users by

    if (!current_user_can('edit_posts')) {
        add_filter('show_admin_bar', '__return_false');
    }

    any Idea why the admin bar is not visible (I also updated akismet and Events made easy plugins)

    Best wishes
    Julius

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Julius35

    (@julius35)

    After some search I found that footer.php is not displayed,when logged in. Logged out everything is okay. Any important changes in the 4.1 in the way the template parts are called and rendered?

    Greetings
    Louis

    Thread Starter Julius35

    (@julius35)

    I could solve the problem. Had an APC Cache running and an older APC Object Cache Backend. Installed the latest version (https://wordpress.org/plugins/apc/ – is there any alternative since it is not continued?) and the admin bar was there again.

    Greetings
    Louis

    I am having the same issue, but I am not using any caching plugin and I am hosting my WP MU on Godaddy.

    Thread Starter Julius35

    (@julius35)

    Hosting might not be the problem but the template. If there is some error in the main template, the footer.php will be not loaded and it is responsible for the admin bar. Check if there is a condluding <body> in the HTML output. If not, the footer and with it the admin bar will be not there.

    It is not the footer, I can see the “Proudly powered by WordPress” in it. Also after inspecting it the footer looks fine in Chrome dev tools.

    From time to time I will see 500 Internal Server Error and I will have to reload the page to get to the site.

    500 Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
    
    More information about this error may be available in the server error log.
    
    Apache Server at www.raplaying.com Port 80

    I am also having issues with pre-viewing my draft posts.

    I thought it might be the .htaccess, but I updated that, and it did not fix the problem.

    Any other ideas?

    So I finally decided to turn off all plugins and try to see if one of them is breaking the site. It was Google Analytics by Yoast. Turning that on kills my toolbar…

    Hope Yoast gets that fixed soon.

    The Google Analytics plugin by Yoast also is breaking LDAP authentication when using wpDirAuth plugin. Deactivating this plugin solves both the disappearing admin bar issue and the LDAP authentication issue.

    Thank you for that update. I had that same issue. Deactivated the plugin Google Analytics plugin by Yoast and voila, Admin bar is back. Please let me know if you find a better alternative for Analytics.

    Thank you.

    Thanks a lot for this update. it was also breaking my woocommerce site. Impossible to connect to the customer (or admin) woocommerce account.

    Thank you !

    Yoast have released a 5.3 beta that fixes the Toolbar and some other issues.
    Info and download here

    I cannot speak of other issues, but it does fix the frontend Toolbar issue for me.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Admin bar disappeared on pages after 4.1 Update’ is closed to new replies.