Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #2118338
Dental Press Options Plugin
Closed

Comments

  • Tomascastellanos started the conversation

    Hello, good morning.

    I have a problem with a template plugin, when I activate the Dental Press Options the browser show "too many redirect" error.

    If I deactivate the plugin the browser shows the website without design.

    Domain: https://tomascastellanos.com/

    I need your help to correct that issue.

    Thanks, best regards.

    Felipe Vanegas

  •  101
    FlexiPress replied

    Hello Felipe,

    To fix that please replace line 1-3 of wp-content/themes/dentalpress/header.php:

    if( dentalpress_get_option('site-mode') == 'under_construction' and get_the_ID() != dentalpress_get_option('site-mode-page') and !is_user_logged_in() ){
        wp_redirect( get_permalink( absint(dentalpress_get_option('site-mode-page')) ) ); exit;
    }

    with the following:

    if ( dentalpress_get_option('site-mode') == 'under_construction' and get_the_ID() != dentalpress_get_option('site-mode-page') and !is_user_logged_in() ) {
        $site_mode_page = dentalpress_get_option('site-mode-page');
        if ( !empty( $site_mode_page ) ) {
            wp_redirect( get_permalink( absint( dentalpress_get_option('site-mode-page') ) ) ); exit;
        }
    }

    or provide us your WP & FTP login details (make sure to reply privately) and we will fix that for you.

    Best regards,


    FlexiPress Support

    Follow on     Envato     Facebook     Twitter

  • Tomascastellanos replied

    Thanks so much for your help.

    The website is running ok.

    Best regards.

    Felipe Vanegas.

  •  101
    FlexiPress replied

    Glad to hear that. You're always welcome!

    Best,


    FlexiPress Support

    Follow on     Envato     Facebook     Twitter