New Landing How can we help? Themeforest Theme Support Flexform Puzzling Error -I need support from a developer please

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Flexform
  • #18780
    matt5834
    Member
    Post count: 23

    I’m compassionately asking for a developer to take a look at this for more than the one dismissive response I received from Cosmin.

    (thanks Gronick for your help!)

    Flexform 1.5 had been working for me. I did not perform any updates.

    This is the issue:
    With a clean new update of WP and zero plugins installed Flexform version 1.5 does not work but version 1.02 does work. (and any other theme)

    The error is that my site goes to the “…site under maintenance” error.

    The normal fixes for this have not helped. I have done EVERYTHING!! Including making a new database from a backed up version of my site. Many hours of technical support with my host Bluehost.

    The site loads normally if I’m logged in as the admin.

    yciw.net

    Please help!
    Thank you in advance
    Matt

    #18781
    matt5834
    Member
    Post count: 23

    I deleted this from functions.php and 1.5 loads
    function sf_maintenance_mode() {

    $options = get_option(‘sf_flexform_options’);
    $custom_logo = $custom_logo_output = $maintenance_mode = “”;
    if (isset($options[‘custom_admin_login_logo’])) {
    $custom_logo = $options[‘custom_admin_login_logo’];
    }
    if ($custom_logo) {
    $custom_logo_output = ‘maintenance‘;
    } else {
    $custom_logo_output = ‘maintenance‘;
    }

    if (isset($options[‘enable_maintenance’])) {
    $maintenance_mode = $options[‘enable_maintenance’];
    } else {
    $maintenance_mode = false;
    }

    if ($maintenance_mode) {

    if ( !current_user_can( ‘edit_themes’ ) || !is_user_logged_in() ) {
    wp_die($custom_logo_output . ‘<p style=”text-align:center”>We are currently in maintenance mode, please check back shortly.</p>’);
    }

    }
    }
    add_action(‘get_header’, ‘sf_maintenance_mode’);

    #18782
    matt5834
    Member
    Post count: 23

    function sf_maintenance_mode() {

    $options = get_option('sf_flexform_options');
    $custom_logo = $custom_logo_output = $maintenance_mode = "";
    if (isset($options['custom_admin_login_logo'])) {
    $custom_logo = $options['custom_admin_login_logo'];
    }
    if ($custom_logo) {
    $custom_logo_output = 'maintenance';
    } else {
    $custom_logo_output = 'maintenance';
    }

    if (isset($options['enable_maintenance'])) {
    $maintenance_mode = $options['enable_maintenance'];
    } else {
    $maintenance_mode = false;
    }

    if ($maintenance_mode) {

    if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) {
    wp_die($custom_logo_output . '<p style="text-align:center">We are currently in maintenance mode, please check back shortly.</p>');
    }

    }
    }
    add_action('get_header', 'sf_maintenance_mode');

    #18956
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Try this,

    In Theme Options -> General Options -> Enable Maintenance = Off

    As per you request, I forward this to our developer.

    Thanks,
    laranz.

    #19186
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Do you have the option set off in Theme Options? We added this functionality in v1.5, but if you turn it off it won’t show.

    Let us know.

    – Ed

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register