• Resolved Axel13

    (@axel13)


    I’m having a problem to logout on a WordPress multisite, as far as I know this happens since the upgrade to 4.3.

    When clicking the logout link, I get redirected to the login screen, but I’m still logged in. I tested this in FireFox and Chrome with two different accounts. It makes no difference.

    In an attempt to find the cause I deactivated the following plugins:
    – WP reCaptcha Integration
    – WPS Hide Login
    – WordPress Social Login
    – Wordfence
    – W3 Total Cache.
    It makes no difference.
    WordPress Social Login, however, is also broken since the upgrade.

    I cleared the cookies:
    – wordpress_sec_…
    – wordpress_logged_in_…
    – wordpress_test_cookie
    – wp-settings-time-1
    – wp-settings-1
    – wfvt_… (Wordfence)
    – __cfduid (Cloudflare)

    When I then try to login again. No problem, but I can’t logout.

    Weirdly, on the frontend at first it looks as if I’m logged out: the toolbar is not visible and the login link, which should change when logged in, is unchanged. This however changes when refreshing the page.

    I ran optimise/repair of the database with WP_ALLOW_REPAIR. For all tables it says: Failed to optimize the [table] table. Error: Table does not support optimize, doing recreate + analyze instead
    The table is okay.
    It only checks the tables of the main site though. Is that normal?

    The error log says:

    [20-Aug-2015 02:29:13 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. in /wp-includes/functions.php on line 3457

    This sounds like WP core and doesn’t sound related.

    I’m running out of inspiration… except for rolling back, but I’d prefer to find a solution.
    All thoughts and suggestions are welcome. TY!

Viewing 1 replies (of 1 total)
  • Thread Starter Axel13

    (@axel13)

    Problem solved. It was caused by something I added to .htaccess to remove extra query parameters.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} !=""
    RewriteCond %{QUERY_STRING} !^p=.*
    RewriteCond %{QUERY_STRING} !^s=.*
    RewriteCond %{REQUEST_URI} !^/wp-admin.*
    RewriteRule ^(.*)$ /$1? [R=301,L]
    </IfModule>
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to logout after upgrade to 4.3’ is closed to new replies.