Error in Log - by DeanoUk - on WordPress WooCommerce support

This topic has 34 replies, 3 voices, and was last updated 6 years, 3 months ago ago by Olga Barlow

  • Avatar: DeanoUk
    DeanoUk
    Participant
    July 5, 2018 at 12:20

    Hi

    since updating to the latest version we have noticed the below error appearing in the error logs an thought we would post.

    [04-Jul-2018 20:27:45 UTC] PHP Notice: wp_woocommerce_session_3ab044ce97c0aac9c940b0e36d79d11e cookie cannot be set – headers already sent by /home/thenailshop/public_html/wp-content/themes/woopress/header.php on line 2 in /home/thenailshop/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 835

    33 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 5, 2018 at 15:11

    Hello,

    If you use cache plugin or CDN, please try to clear it.

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 5, 2018 at 15:19

    Hi we dont have any cache or cdn active apart from Amazon S3 for media images

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 5, 2018 at 15:39

    Hello,

    In this case, try to disable all 3rd-party plugins. Likely one of theme causes conflict with woocomemrce functionality.

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 5, 2018 at 15:40

    we will try this, we find it strange as nothing has changed within our site or plugins. its only since updating to the latest version of woothemes we seen this

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 6, 2018 at 08:10

    Hi

    another question while we look at this, on the mobile we have a On Sale part now on computers it shows the Sale bubble but on mobiles it does not, can this work to show the sale bubbles.

    also on mobile is there a way to change on how it generates the products i.e. currently it shows 1 product per line so alot of scrolling, can it be made to show possible 2 products per line like side by side

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 6, 2018 at 08:27

    Hello,

    1.

    another question while we look at this, on the mobile we have a On Sale part now on computers it shows the Sale bubble but on mobiles it does not, can this work to show the sale bubbles.

    – please provide screenshots for better understanding.
    2. Try to add this code in Theme Options > Custom css > Custom css for mobile:

    .products-grid .product {
        width: 50% !important;
    }

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 6, 2018 at 08:32

    Hi link to image that shows mobile no bubbles are showing – https://www.awesomescreenshot.com/image/3471705/517cac7ce165729c179a59227f9d3f96

    we have tried that css but on mobiles still shows as 1 product per line

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 6, 2018 at 09:50

    Hi sorry that code did work for the products below the sale ones but didn’t work so well for the code used by 8theme to display products and also the category’s

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 6, 2018 at 11:57

    just an update on this, the sale bubbles do show if the mobile phone is in landscape mode but not in portrait

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 6, 2018 at 12:16

    Please provide me links to pages where you have these problems.

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 6, 2018 at 12:18

    https://lighteleganceuk.com/

    when viewing on computer you can see the sale bubbles, when viewing on mobile in portrait mode you cannot see bubbles but if you put your mobile into landscape mode the bubbles appear, they really need to appear in portrait as well

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 6, 2018 at 12:25

    Please add this code in Custom css for mobile:

    .product-content-image .label-product {
        display: block;
    }

    http://prntscr.com/k39q69

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 7, 2018 at 16:53

    Hi

    we are still getting alot of the below errors and there has been no change in our website its only since updating the theme to the latest release can we get a different version at all ?

    wp_woocommerce_session_3ab044ce97c0aac9c940b0e36d79d11e cookie cannot be set – headers already sent by /home/thenailshop/public_html/wp-content/themes/woopress/header.php on line 2 in /home/thenailshop/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 835

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 8, 2018 at 20:55

    Hi

    please ignore this error log we have seemed to have fix the issue with this and our website but do still require the Sale badges to appear on mobiles when in portrait mode

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 08:26

    Hello,

    Please change this code http://prntscr.com/k46crq to

    .product-content-image .label-product {
        display: block !important;
    }

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 11:25

    that has worked great thank you, just going back to the code we were given for the shop product grid below, it works great for shop but not for category’s do we just teak that code given to make the category’s do the same for mobiles. image below as well

    https://www.awesomescreenshot.com/image/3475703/226da7b68d645e4b8eb9c8903bcbeaee

    .products-grid .product {
    width: 50% !important;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 12:10

    Please change this code http://prntscr.com/k4993x
    to:

    .categories-mask h4 {
        font-size: 18px;
        word-break:  break-word;
    }
    .products-grid .product {
        width: 50% !important;
    }
    .products-grid .product-category {
        display: inline-block;
        width: 49% !important;
    }

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 12:45

    that has worked perfectly thank you, i do think this is the last thing for us lol, within the settings we have the Topbar and Enable top links (Register | Sign In) turned on, which it does show on computer but on mobile it does not show on the Topbar is this something that can be changed ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 12:54

    Please add this code in Global Custom css:

    @media only screen and (max-width: 992px){
        .top-bar .top-links .links{
            display: block;
        }
    }

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 13:07

    cannot see any change on that with the code doe mobiles

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 13:14

    Please provide temporary wp-admin access.

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 13:33

    Hi yes sure details in private

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 13:36

    Please add !important

    @media only screen and (max-width: 992px){
        .top-bar .top-links .links{
            display: block !important;
        }
    }

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 13:47

    that has worked but register link seems to be missing for unknown reason

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 13:55

    Please read our documentation https://www.8theme.com/demo/docs/royal/#4_registration_page

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 15:33

    can you tell me where the file is located for the registration template so we can replace that registration with our custom one we have ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 15:48

    et_register_form function can be found in woopress/framework/theme-functions.php. You can copy the function into child theme functions.php file and change according to your needs.

    Regards

    Avatar: DeanoUk
    DeanoUk
    Participant
    July 9, 2018 at 16:09

    okay thank you we will give this ago as we have our shortcode that want to replace it with [wppb-register]

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 10, 2018 at 07:37

    You’re welcome.

    Regards

  • 1 2
    Viewing 30 results - 1 through 30 (of 34 total)

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

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