Home page disappear - by Whoszecki - on WordPress WooCommerce support

This topic has 12 replies, 3 voices, and was last updated 4 years, 8 months ago ago by Olga Barlow

  • Avatar: Whoszecki
    Whoszecki
    Participant
    April 17, 2020 at 19:34

    I have a problem with (Products) which I use on the front page. I use 2 types of Products, the first module is all products with grid and second module is SALE with slider option. Every 24h this module makes glitch, and I’m losing a whole home page, to return it back all that I need to do is just change product data from the sale to random and save and after that my home page comes back again and after that, I change it back to the sale and it’s working but on the other day, I’m facing the same issue again. What could be the main reason?
    I’m using WPBaker plugin

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 18, 2020 at 07:38

    Hello,

    Enable WP debug mode https://wordpress.org/support/article/debugging-in-wordpress/ to find out what error appears on your site, it will point you in the right direction what needs to be fixed.

    Regards

    Avatar: Whoszecki
    Whoszecki
    Participant
    April 18, 2020 at 07:47

    Ok, thanks.. Have you done anything cuz it’s working today, and if yes, may I know what have you changed?

    Thank you, Rose.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 18, 2020 at 08:52

    We did nothing, just checked how it looks.

    Regards

    Avatar: Whoszecki
    Whoszecki
    Participant
    April 18, 2020 at 14:42

    Alright,
    well, I did enabled debug and will monitor if the issue will pop up again I’ll post output here..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 18, 2020 at 15:27

    Ok. Feel free to contact us.

    Regards

    Avatar: Whoszecki
    Whoszecki
    Participant
    April 20, 2020 at 16:44

    I’m getting this error message 🙁

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/admin/web/zapatero.ge/public_html/wp-includes/formatting.php on line 3345

    Notice: Trying to access array offset on value of type bool in /home/admin/web/zapatero.ge/public_html/wp-includes/formatting.php on line 3352

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 21, 2020 at 13:17

    Hello,

    When do you get this message? Seems that it’s related to WP Convert emoticons options of the WP not to our theme.

    Regards

    Avatar: Whoszecki
    Whoszecki
    Participant
    April 21, 2020 at 14:58

    Every day, it happens when I’m not connected to admin panel. Also, I’m not using WP Convert emoticons options and it’s disabled everywhere where I just could find.
    Any hints?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 21, 2020 at 17:44

    Hello,

    Try to disable jetpack plugin and check because we found report about similar issue https://github.com/Automattic/jetpack/issues/8420

    Regards

    Avatar: Whoszecki
    Whoszecki
    Participant
    April 22, 2020 at 10:46

    Unfortunately, I’m getting same error 🙁
    This is the code which gives error :

    function convert_smilies( $text ) {
            global $wp_smiliessearch;
            $output = '';
            if ( get_option( 'use_smilies' ) && ! empty( $wp_smiliessearch ) ) {
                    // HTML loop taken from texturize function, could possible be consolidated.
                    $textarr = preg_split( '/(<.*>)/U', $text, -1, PREG_SPLIT_DELIM_CAPTURE ); // Capture the tags as well as in between.
                    $stop    = count( $textarr ); // Loop stuff.
    
                    // Ignore proessing of specific tags.
                    $tags_to_ignore       = 'code|pre|style|script|textarea';
                    $ignore_block_element = '';
    
                    for ( $i = 0; $i < $stop; $i++ ) {
                            $content = $textarr[ $i ];
    
                            // If we're in an ignore block, wait until we find its closing tag.
                            if ( '' == $ignore_block_element && preg_match( '/^<(' . $tags_to_ignore . ')[^>]*>/', $content, $matches ) ) {
                                    $ignore_block_element = $matches[1];
                            }
    
                            // If it's not a tag and not in ignore block.
                            if ( '' == $ignore_block_element && strlen( $content ) > 0 && '<' != $content[0] ) {
                                    $content = preg_replace_callback( $wp_smiliessearch, 'translate_smiley', $content );
                            }
    
                            // Did we exit ignore block?
                            if ( '' != $ignore_block_element && '</' . $ignore_block_element . '>' == $content ) {
                                    $ignore_block_element = '';
                            }
    
                            $output .= $content;
                    }
            } else {
                    // Return default text.
                    $output = $text;
            }
            return $output;
    }
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 22, 2020 at 19:30

    Hello,

    It’s not our function, this is WP core function. Submit topic on the WP support forum.
    We can help only if the error comes from our theme files or functions.

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.