• Notice: Undefined variable: wp_query in /plugins/theme-my-login/includes/class-theme-my-login.php on line 264
    
    Fatal error: Call to a member function is_main_query() on null in /plugins/theme-my-login/includes/class-theme-my-login.php on line 264
Viewing 2 replies - 1 through 2 (of 2 total)
  • Have a look at
    https://wordpress.org/support/topic/update-from-today-crashed-my-site/

    There is described how to fix this issue.
    I copied it here

    TO FIX THIS IS EASY:

    This is a typo in class-theme-my-login.php file the variable should be $query not $wp_query….

    open file: theme-my-login/includes/class-theme-my-login.php
    go to line 264…

    edit:
    // Bail if not the main query
    if ( ! $wp_query->is_main_query() )
    return;

    change to:

    // Bail if not the main query
    if ( ! $query->is_main_query() )
    return;

    Ralf

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Sorry about that! 6.4.9 was released shortly after to fix this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem after update to 6.4.8’ is closed to new replies.