• ethan1212

    (@ethan1212)


    On the WordPress dashboard, when I click on the “WooCommerce for logged-in users” settings link under WooCommerce, it displays a blank page and I cannot access any settings. Because of this, I am unable to set which page it redirects to upon login. I am using the plugin on a WordPress multisite network subsite.

    • This topic was modified 2 months ago by ethan1212.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ramon Ahnert

    (@rahmohn)

    Hi @ethan1212,

    it seems to be a JavaScript error. Could you take a look at the browser’s Console? It can give us a clue about what is happening.

    Other than that, You can use the filter wflu_redirect_after_login_page_url to bypass the setting. Example:

    add_filter(
    'wflu_redirect_after_login_page_url',
    function( $redirect_to ) {
    $shop_page_link = get_permalink( wc_get_page_id( 'shop' ) );

    if ( empty( $shop_page_link ) ) {
    return $redirect_to;
    }

    return $shop_page_link;
    }
    );
    Thread Starter ethan1212

    (@ethan1212)

    @rahmohn

    Here are the console errors when trying to view the settings page:

    Thread Starter ethan1212

    (@ethan1212)

    @rahmohn

    Any chance this can be fixed? Thank you!

    Plugin Author Ramon Ahnert

    (@rahmohn)

    Hi @ethan1212,

    I didn’t have a chance to fix it.

    Just to be sure, is the WP REST API enabled on your site? Asking that because the admin area relies on the WP REST API to retrieve the pages.

    Thread Starter ethan1212

    (@ethan1212)

    @rahmohn

    Yes, the WP REST API is enabled.

    Hi Ramon,

    i have this Problem too but an other Error-Code.

    Can you fix it?

    BR

    Nikola

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.