Home Forums WoodMart support forum Errors and other things After update to the latest version – preprod website

Errors and other things After update to the latest version – preprod website

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #290208

    pavel.vutkow
    Participant

    Hello,

    I need assistance and information regarding the situation after the last update.

    What I notice is that the pre-set CSS options from the generator are already breaking and I had to add them again to the wpbakary plugin.

    1. Do you save all CSS styles for wpbakary after the latest updates?

    For example, the information field was broken and I had to enable and generate this from the wpbakary CSS part to fix the problem.

    2. I noticed that after the last update they are already loading from 80-100 files to many more. How can this be reduced? On the recommendation of Google, it is necessary to reduce the number of files, queries to have greater speed.

    3. I noticed that after the last update in the speed section (performance) – by default there are options for the elementor plugin.

    – I use wpbakary please specify which of these options I need to enable / disable in this section for best performance for wpbakary.

    4. I also noticed the following problem after the last update. How can I fix it:

    – The mobile version lacks the text “menu”. How do I add it?

    https://snipboard.io/0bVwNA.jpg
    5. I saw and this error, how can we fix it? You can see it in DEV mode in the browser!

    Uncaught TypeError: q is null <anonymous> https://xxxxxx.xxxx/wp-content/themes/woodmart/js/libs/device.min.js?ver=6.0.3:1 <anonymous> https://xxxxxx.xxxx/wp-content/themes/woodmart/js/libs/device.min.js?ver=6.0.3:1 device.min.js:1:2807 <anonymous> https://xxxxxx.xxxx/wp-content/themes/woodmart/js/libs/device.min.js?ver=6.0.3:1 <anonymous> https://pxxxxxx.xxxx/wp-content/themes/woodmart/js/libs/device.min.js?ver=6.0.3:1

    6. **** I saw and into the admin area – that there has a bug:
    when a font, letter color, or background color is selected, it is not displayed as an example field. It was showing in the old version.

    Thank you in advance! Pavel

    #290348

    Artem Temos
    Keymaster

    Hello,

    1. Sorry, but we don’t quite understand what CSS do you mean. Could you please provide us more information about this and send some screenshots?

    2. You can enable Combine CSS files in Theme Settings -> Performance -> CSS.

    3. Just ignore those options. They will not affect anything if the Elementor plugin is not installed.

    4. You need to enable this option in the mobile menu element with the Header builder http://prntscr.com/12m1o5o

    5. Could you please send us a link where we can see this error?

    6. We don’t see this problem on your website https://gyazo.com/10e5e51e8536c7e4e6d28d01f134d7a4
    Could you please clarify the issue?

    Kind Regards

    #290437

    pavel.vutkow
    Participant

    Hi there,

    1. Sorry, but we don’t quite understand what CSS do you mean. Could you please provide us more information about this and send some screenshots?

    1.1 I had to add this option – because after the update this box was broken.
    http://joxi.net/12MP7zViwoNzwm
    1.2 In the old version, you had them as your option

    1.3 In this regard, are all the options available here, how to determine which option(CSS) I will use, how to make sure that nothing else has broken!
    http://joxi.net/DrlZ7gETG8B7L2

    2. You can enable Combine CSS files in Theme Settings -> Performance -> CSS.

    2.2 Will this result in the old load option?

    How do you combine them – one common file for the whole site or one product file.. one for the site, for posts, etc.?

    3. Just ignore those options. They will not affect anything if the Elementor plugin is not installed.

    3.1 Okay, I’ll ignore them, but doesn’t that mean these options, files, are loaded every time the site loads? My question is about the speed of the site.

    4. You need to enable this option in the mobile menu element with the Header builder http://prntscr.com/12m1o5o

    4.1 In this case, this is set but the text is not displayed.
    This is a pre-production site, so I can test if there is a problem to remove it before updating the original site.
    http://joxi.net/12MP7zViwoNjBm

    5. Could you please send us a link where we can see this error?

    5.1 https://snipboard.io/Y6yslu.jpg

    Main page – mobile version, all pages. For example:
    https://preprod.s-deal.eu/
    https://preprod.s-deal.eu/shop/

    6. We don’t see this problem on your website https://gyazo.com/10e5e51e8536c7e4e6d28d01f134d7a4
    Could you please clarify the issue?

    6.1 Example:
    https://snipboard.io/hQ5UiX.jpg
    https://snipboard.io/ZDIfW9.jpg
    https://snipboard.io/m7sRWC.jpg

    Kind Regards

    #290462

    Artem Temos
    Keymaster

    Hi,

    1.1. You need to enable this option only if you use WPBakery Message box element.

    1.3. We don’t have the CSS generator any longer.

    2.2. By enabling this option, our theme would load only one CSS file that will contain all the CSS parts including posts, products, elements etc.

    3.1. No, these files wouldn’t be loaded without Elementor plugin.

    4.1. Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.

    @media (max-width: 768px) {
    	body .wd-header-mobile-nav.wd-style-text .wd-tools-text {
    		display: inline;
    	}
    }

    5.1. We don’t see this error on that page https://gyazo.com/b4fe3e07da7912fe69d90925a6195dc3

    6.1. The preview area appears when you start customizing the field https://prnt.sc/12mbaor

    Kind Regards

    #290518

    pavel.vutkow
    Participant

    Thanks for the feedback.

    1.1. You need to enable this option only if you use WPBakery Message box element.

    —- ОК Thanks – the strange thing is that until the update it was not activated and worked without a problem.

    1.3. We don’t have the CSS generator any longer.

    —- Yes I am aware but I guess all the necessary CSS files are loaded, necessary for all the options you offer?

    2.2. By enabling this option, our theme would load only one CSS file that will contain all the CSS parts including posts, products, elements etc.

    —- ОК Thanks

    3.1. No, these files wouldn’t be loaded without Elementor plugin.

    —- ОК Thanks

    4.1. Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.


    @media
    (max-width: 768px) {
    body .wd-header-mobile-nav.wd-style-text .wd-tools-text {
    display: inline;
    }
    }

    —- That helped. But do you plan to fix it in the next version? Because in this way I accumulate a lot of customized CSS.

    5.1. We don’t see this error on that page https://gyazo.com/b4fe3e07da7912fe69d90925a6195dc3

    —- Yes because you watch it in the desktop version!
    Please try as in my photos in the mobile version

    6.1. The preview area appears when you start customizing the field https://prnt.sc/12mbaor

    —- ОК Thanks

    Kind Regards

    #290524

    Artem Temos
    Keymaster

    1.3. Yes, these files are loaded only when appropriate options are used on a particular page.

    4.1. Yes, we will review this and fix it if necessary.

    5.1. The same in mobile version https://gyazo.com/7b281c1664824164be9a5a20a465e309

    Kind Regards

    #290537

    pavel.vutkow
    Participant

    Hi,

    1.3. Yes, these files are loaded only when appropriate options are used on a particular page.
    — Thanks

    4.1. Yes, we will review this and fix it if necessary.
    — Thanks I think that it is necessary because this is part of the theme options.

    5.1. The same in mobile version https://gyazo.com/7b281c1664824164be9a5a20a465e309

    Please check with firefox

    Kind Regards

    #290559

    Artem Temos
    Keymaster

    It doesn’t matter which browser, the error still not there. And you no need to test in FireFox the mobile version. You would better use real mobile devices to check it.

    #294211

    pavel.vutkow
    Participant

    Hi there,

    I found one more bug. Can you help me?

    After the update, the search option does not work correctly.

    When typing something in the search engine, it just starts thinking without showing a result.

    When you press the find button, it finds them.

    I did tests on the plugin itself, giving it similar indexes.
    What could be the reason?

    For example:
    https://gyazo.com/c03b856071a7643f9610ef3d57a6abb7

    https://gyazo.com/21ff5508f18666da2e293d9f8d788bd7

    https://snipboard.io/6EgiDM.jpg

    #294212

    pavel.vutkow
    Participant

    Hello,
    I found that if css is combined this problem is not present. At the same time, you recommend not combining for better performance results.
    Please guide me, how to fix the problem without combining CSS?

    #294244

    Eric Watson
    Participant

    Hello,

    Please, provide us your FTP access so we can log in and check this on your side.

    Thank you in advance.

    #294314

    pavel.vutkow
    Participant

    Hello,

    Thank you for your cooperation.
    I enclose the necessary information.

    I also want to ask for help with another bug that I found and is very strange.

    – When loading the site for the first time if you do not have the cache or it happens when loading the site for the first time, two of the categories are covered.

    After refreshing the page they fix it.

    I also attach videos:

    – first load the site:
    https://gyazo.com/c3b7d505687ab44bb259190aea654ee3

    – after refresh:
    https://gyazo.com/b62b5861d08d347a5d204dc76f2c40f8
    ————————————————–
    This happens again after the update.

    #294315

    pavel.vutkow
    Participant

    Please for ASAP help for this:

    https://snipboard.io/iLNkMO.jpg

    #294332

    pavel.vutkow
    Participant

    Regarding the last error, I contacted woocomerce with them we did a few tests:

    “Please for ASAP help for this:
    https://snipboard.io/iLNkMO.jpg&#8221;

    We turned off all plugins – the error was present.
    I installed a new theme and we replaced it – the bug was fixed.

    What they share is:


    I think the first step with regards to this is to see if it happens with WooCommerce as the only plugin activated and a theme like Twenty Twenty our free Storefront https://wordpress.org/themes/storefront/ theme activated at the same time.

    This will test to see if it’s a possible code conflict as I noticed the theme you’re using woodmart overrides quite a few WooCommerce template files including the cart.php file.

    ——————-


    Sounds good, so it’s coming from the theme. You would want to change the theme at the earliest.

    Can you advise me what to share with the developers of the theme?

    you would have to share the errors/warnings actually.

    the one you see on the cart page.

    I have already done it, but is there anything else compared to your expertise that I can apply to them.
    What could have led to this error.

    Not really, The theme devs would know why the error is coming, all you can do is give them your site information i.e what plugins you are running etc.

    but that is about it.

    In order not to create a problem for customers, I have excluded errors, as they advised me:

    Could you comment the debug false line and add this. ini_set (‘display_errors’, ‘Off’);
    ini_set (‘error_reporting’, E_ALL);
    define (‘WP_DEBUG’, false);
    define (‘WP_DEBUG_DISPLAY’, false);

    For the test you can comment, these lines

    ————–

    You can recreate the situation by logging in with the account provided on the site and go to the cart and add any product.

    #294358

    Eric Watson
    Participant

    1) It seems to be a theme bug. We will fix this in our next theme update. We have now fixed it on your site, please check.

    2) There are no errors now https://gyazo.com/88b722380dabf970f708281983f289cd

    3) https://gyazo.com/3c029e54dcc0abeeef6aa532b17bda85 Can’t catch the problem

    #294453

    pavel.vutkow
    Participant

    1) It seems to be a theme bug. We will fix this in our next theme update. We have now fixed it on your site, please check.

    thanks for the help

    2) There are no errors now https://gyazo.com/88b722380dabf970f708281983f289cd

    — It is available, but for this purpose, you need to comment on the error hiding code in wp-config.php
    ini_set (‘error_reporting’, E_ALL);
    define (‘WP_DEBUG’, false);
    define (‘WP_DEBUG_DISPLAY’, false);

    After that, you can use the admin user to reproduce the error.
    Also, you can check the error logs in the main and admin folder. After reach the woocomerce they navigate me to contact you due to conflict from the theme code.

    3) https://gyazo.com/3c029e54dcc0abeeef6aa532b17bda85 Can’t catch the problem

    Please try to open firefox/ edge or chrome in private mode and open it in first open you’ll see it.
    https://gyazo.com/1be009d172a63428406bc98424b6ad55
    https://snipboard.io/HQEr1s.jpg

    Even now it got worse, the pictures and icons began to break on the main page. Did you change something?

    Thank you,

    #294712

    pavel.vutkow
    Participant

    3) https://gyazo.com/3c029e54dcc0abeeef6aa532b17bda85 Can’t catch the problem

    Fixed – found that lazyload from wp-rocket cause the problem.

    Only problem 2 is available – please for help!

    #295151

    Eric Watson
    Participant

    Hello,

    Sorry for the long wait, the support team is overloaded right now. Judging by the errors, they refer to the WooCommerce plugin, could you please check if there are any errors with the standard theme Storefront.

    Thank you in advance.

    #295226

    pavel.vutkow
    Participant

    PLEASE FOR ASAP resolution – this prevents my client to finish their order already more than 50 orders are missed because of that.

    As I point the woocomerce told me that this is the error due to theme code conflict.

    When we make together with woocomerce tests they ask me to change the theme and this error disappeared immediately.
    When I returned the woodmard theme, the problem reappeared.
    We excluded all plugins except woocomerce in combination with your theme and the problem was present.

    ————–
    — It is available, but for this purpose, you need to comment on the error hiding code in wp-config.php
    ini_set (‘error_reporting’, E_ALL);
    define (‘WP_DEBUG’, false);
    define (‘WP_DEBUG_DISPLAY’, false);
    ————–

    From woocomerce DEV team:

    Not really, The theme devs would know why the error is coming, all you can do is give them your site information i.e what plugins you are running etc.

    but that is about it.

    #295227

    pavel.vutkow
    Participant

    The error wee see in the error log:

    [25-May-2021 08:49:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1425
    [25-May-2021 08:49:08 UTC] PHP Warning: array_map(): Expected parameter 2 to be an array, int given in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 346
    [25-May-2021 08:49:08 UTC] PHP Warning: array_sum() expects parameter 1 to be array, null given in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 347
    [25-May-2021 08:49:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 629
    [25-May-2021 08:49:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 592
    [25-May-2021 08:49:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/shareles/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 592

    #295261

    Eric Watson
    Participant

    We tested your site turned off plugins and theme and now the error is gone. Have you changed anything?

    Regards

    #295298

    pavel.vutkow
    Participant

    Hello,

    Because the problem was very serious, I started investigating it early in the morning. I changed the theme with an older version 6.3, stopped plugins and what not. Nothing helped.

    Then I did the following in woocomerce – status – WooCommerce transients
    Clear product temporary cache.

    I used this option, which helped me and the error disappeared.

    But a while ago, when I came back from lunch, I noticed this error again and started doing the same thing until I saw that you were working in parallel with me.

    So I waited for you to finish after using this option “Clear product temporary cache.” I haven’t touched anything.
    ———-
    However, I am afraid that after the problem reappeared a while ago, there is a chance that it will happen again.

    Clearing this cache does not know what can help if there is a conflict that occurs with the woocomerce plugin.

    Paul

    #295301

    pavel.vutkow
    Participant

    Have you made any changes to the performance settings,
    As well as what is the change you made for the search engine from the problem you mentioned, that you fixed it for my site now and that in the next version, it will be corrected?

    #295305

    Eric Watson
    Participant

    We did nothing except disabling plugins and check if one of them is causing the errors.

    #295321

    pavel.vutkow
    Participant

    After all the testing and troubleshooting, many other problems arose.
    So I plan to return the backup tonight and do the update again.

    For this purpose, can you share how you fixed the problem with the search engine?

    Regards,

    #295329

    Eric Watson
    Participant

    There were many files affected, we can make a fix for you after the backup, just write to us.

Viewing 26 posts - 1 through 26 (of 26 total)