Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Puzzling Error -I need support from a developer please
New Landing › How can we help? › Themeforest Theme Support › Flexform › Puzzling Error -I need support from a developer please
- This topic has 4 replies, 3 voices, and was last updated 10 years by Swift Ideas – Ed.
-
Posted in: Flexform
-
August 29, 2013 at 3:42 am #18780
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
MattAugust 29, 2013 at 4:03 am #18781I 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 = ‘‘;
} else {
$custom_logo_output = ‘‘;
}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’);August 29, 2013 at 4:03 am #18782function 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 = '';
} else {
$custom_logo_output = '';
}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');August 30, 2013 at 12:27 am #18956Hi,
Try this,
In Theme Options -> General Options -> Enable Maintenance = Off
As per you request, I forward this to our developer.
Thanks,
laranz.August 30, 2013 at 5:00 pm #19186Hi 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
-
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.