Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Flexform is causing a Maintenance Mode Error
New Landing › How can we help? › Themeforest Theme Support › Flexform › Flexform is causing a Maintenance Mode Error
- This topic has 22 replies, 6 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Flexform
-
August 27, 2013 at 11:05 pm #18467
Hi-
My site is broken as it is stuck on the default maintenance error. I’ve tried all of the other fixes on recommended on the WordPress forums (delete .maintenance file etc.).
My host provide believes it is the theme causing the problem.Please help!!
Thank you,
MattAugust 28, 2013 at 12:37 am #18479Here is the error that I’m getting:
[27-Aug-2013 20:45:02] PHP Fatal error: require_once() [function.require]: Failed opening required ‘/home1/yciwnet/public_html/wp-content/themes/twentyeleven/includes/custom-post-types/portfolio-type.php’ (include_path=’.:/usr/lib64/php:/usr/share/pear’) in /home1/yciwnet/public_html/wp-content/themes/flexform/functions.php on line 19
August 28, 2013 at 11:31 am #18539I have uploaded the files manually several times.
August 28, 2013 at 12:32 pm #18579This reply has been marked as private.August 28, 2013 at 12:36 pm #18581Here is the error:
[28-Aug-2013 12:33:59] PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home1/yciwnet/public_html/wp-content/themes/flexform/functions.php on line 172
August 28, 2013 at 3:17 pm #18625My host has told me that there is a coding error in Flexform’s functions.php file.
This is the line in question:
if ( in_array( ‘woocommerce/woocommerce.php’, apply_filters( ‘active_plugins’, get_option( ‘active_plugins’ ) ) ) ) {
It is causing my site to get the “….site is in maintenance mode” error.
Please help
MattAugust 28, 2013 at 5:18 pm #18647here is my url:
yciw.net
Let me know and I’ll send over my admin log in info in a private reply.
Thank you!
MattAugust 28, 2013 at 7:10 pm #18690Which host are you using and what, exactly, did they say the coding error was?
August 28, 2013 at 7:42 pm #18703I’ve posted the error in a reply above.
August 28, 2013 at 7:43 pm #18704Bluehost is my provider
August 30, 2013 at 10:29 am #19039Hey, thanks for the details! Can you open up functions.php and change
if ( in_array( ‘woocommerce/woocommerce.php’, apply_filters( ‘active_plugins’, get_option( ‘active_plugins’ ) ) ) ) {
if (!is_account_page()) {
wp_enqueue_script(‘sf-viewjs’);
}
} else {
wp_enqueue_script(‘sf-viewjs’);
}to
if (!is_account_page()) {
wp_enqueue_script(‘sf-viewjs’);
}to see if that solves it?
Thank you!
November 1, 2013 at 6:47 pm #29633Hello, I am also stuck in maintenance mode and I cant solve it. I havent found any better support thread that would solve this issue at your support forum nor anywhere else. Can you help please? My site is here http://www.rqc-cleaners.co.uk/
Change you suggest above doesnt help as well. There is also no .maintenance file in my ftp I would delete.
Many thanks
November 1, 2013 at 6:49 pm #29634uhhh just solved in in few seconds after i posted this …. woo… sorry for spam 🙂
November 5, 2013 at 6:25 pm #30044Great!
November 5, 2013 at 6:30 pm #30045Matt can you let me know if you need anything else or if I can close this thread?
-
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.