New Landing How can we help? Themeforest Theme Support Flexform Flexform is causing a Maintenance Mode Error

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

    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,
    Matt

    #18479
    matt5834
    Member
    Post count: 23

    Here 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

    #18539
    matt5834
    Member
    Post count: 23

    I have uploaded the files manually several times.

    #18579
    matt5834
    Member
    Post count: 23
    This reply has been marked as private.
    #18581
    matt5834
    Member
    Post count: 23

    Here 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

    #18625
    matt5834
    Member
    Post count: 23

    My 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
    Matt

    #18647
    matt5834
    Member
    Post count: 23

    here is my url:

    yciw.net

    Let me know and I’ll send over my admin log in info in a private reply.

    Thank you!
    Matt

    #18690
    Tekguild
    Member
    Post count: 171

    Which host are you using and what, exactly, did they say the coding error was?

    #18703
    matt5834
    Member
    Post count: 23

    I’ve posted the error in a reply above.

    #18704
    matt5834
    Member
    Post count: 23

    Bluehost is my provider

    #19039
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, 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!

    #29633
    BA-cil
    Member
    Post count: 2

    Hello, 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

    #29634
    BA-cil
    Member
    Post count: 2

    uhhh just solved in in few seconds after i posted this …. woo… sorry for spam 🙂

    #30044
    Melanie – SUPPORT
    Member
    Post count: 11032

    Great!

    #30045
    Melanie – SUPPORT
    Member
    Post count: 11032

    Matt can you let me know if you need anything else or if I can close this thread?

Viewing 15 posts - 1 through 15 (of 23 total)

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

License required for one of the following items
Login and Registration Log in · Register