Home Forums WoodMart support forum Product Variations on Product Category / Shop (Archive) not working

Product Variations on Product Category / Shop (Archive) not working

Viewing 23 posts - 31 through 53 (of 53 total)
  • Author
    Posts
  • #654024

    mudesports
    Participant

    Hi Luke,

    Thanks. Really appreciate your support.
    In private area, I share with you the steps our IT pass to me to connect to the server via SSH.
    Hope it works.

    Regards.

    #654125

    Luke Nielsen
    Keymaster

    Hello,

    When we connect to the server via your instructions, we have such an error – https://monosnap.com/file/hKHvCZ5Vw4tIxBbujwhe5iAo9aiFlL

    Kind Regards

    #654192

    mudesports
    Participant

    Hi Luke,

    Please try again with the new credentials (use and password) i share with you. Rest of details keep the same.

    Thanks

    #654725

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay. Our team is currently working on it and investigating the issue. As soon as I receive an answer, I will let you know.

    Kind Regards

    #654793

    mudesports
    Participant

    Hi Luke,
    Thanks.
    Regards.

    #655093

    Luke Nielsen
    Keymaster

    Hello,

    We checked your website and found that the problem lies with your server’s limitation which cannot process the content on the page. In this case, you can try to increase the PHP Memory Limit, but if this solves the problem, you’ll need to reduce the AJAX variation threshold to the minimum value, and in this scenario, it will work.

    Kind Regards

    #658368

    mudesports
    Participant

    Hello,

    Sorry for all this time without answering but I have been away on holidays.

    I’ve increased the PHP memory and seems it works on the product test I recreated but not on the old products.
    Does increasing the PHP memory should affect all products or I need to recreate them all? Just to understand why work on some products and not the others?

    Besides the PHP memory, is any other server’s limitation which is causing that issue? Our live site is hosted on a Cloud Server that can be upgraded if need it but I should understand where the problem exaclty lies.
    After adjusting the PHP memory limit, which AJAX thereshold value should we try?

    Here the product that works:
    https://www.mude-sportclubs.com/shop/variable-product-test/

    Here products that do not work and keep showing a blank page:
    https://www.mude-sportclubs.com/shop/mens-training-short-with-underpant/
    https://www.mude-sportclubs.com/shop/womens-training-t-shirt-long-sleeves/

    Thanks and regards

    #658398

    Luke Nielsen
    Keymaster

    Hello,

    The “AJAX variation threshold” is situated in Theme Settings -> Shop -> Variable products.

    https://prnt.sc/cb_qkH_DgXgx

    So reduce that threshold value, and then you can try to edit the products via bulk edit.

    Let me know the result.

    Kind Regards

    #658481

    mudesports
    Participant

    Hi Luke,

    I know where the AJAX variation threshold is located, thanks.

    I was asking about what value is the “correct” one? You metioned earlier that when increasing the PHP memory, I should reduce the threshold at minimum….but what’s that minimum value, 1, 10, 30….? Should I try different options which will give different results?

    Regards

    #658604

    Luke Nielsen
    Keymaster

    Hello,

    Please contact the server support and ask them to check why the page does not load (preferably, ask to give the logs that appear during the loading of the page)

    Kind Regards

    #658745

    mudesports
    Participant

    Hi Luke,

    I’ll ask the logs but while I understand that for you seems to be a server problem, I’m still quite convinced it’s a bug or a plugin conflict between WPML, Woodmart and Elementor.

    Why everything works well and no blank page appears on the products with variations IF:
    I DISABLE the Single Product Layout (Elementor)
    or
    I DISABLE the WPML String Translation Plugin

    I believe that if it’s a server problem it will occur the same if the custom layout (Elementor) is disabled and/or if the WPML plugin is disabled. Correct? Why when using the general product page layout (Woodmart), no blank page appears and all works fine? For me, it seems more a conflict than a server problem.

    Regards

    #658925

    Luke Nielsen
    Keymaster

    Hello,

    In our opinion, the issue is likely due to some restrictions on your server, as we are encountering this problem for the first time and have not faced it before. That is why we are requesting additional information from the server to better understand the nature of the issue.

    Kind Regards

    #659029

    mudesports
    Participant

    Hi,
    Thanks.

    So you think that these restrictions only happen when custom Layout is enabled? As when disabled all works normally.

    Let me gather those logs when the page should be loading and let’s hope we can find the reason why is not working.
    Regards

    #659048

    mudesports
    Participant

    Hi,

    I share with you on moderators area the server logs file when accessing 2 of these products that return a blank page. It seems like there are no errors showing.

    Regards

    • This reply was modified 2 months, 1 week ago by mudesports.
    #659171

    Luke Nielsen
    Keymaster

    Hello,

    Thanks for sending the logs, but these are web server access logs (e.g., from Apache or Nginx), which only show incoming HTTP requests.

    What I actually need are the PHP error logs — logs that capture PHP-related errors, warnings, or notices generated during script execution.

    These logs are typically found in files like error_log or php_errors.log, usually located in:

    /var/log/, /var/log/php/, or

    the path defined in the error_log directive inside your php.ini file.

    Please note: PHP logging may not be enabled on your server, or the log files might not be easily accessible depending on your hosting setup.
    If you can’t find the PHP error logs, I recommend contacting your hosting provider’s technical support — they should be able to give you specific instructions on how to enable or access them.

    Kind Regards

    #659364

    mudesports
    Participant

    Hi Luke,

    They passed me the attached Log entries which seems no errors.
    Our IT suggest if there is any possibility that your development team add any code into our Test (Staging Site) in order to catch if there is any PHP errors. Is that possible?

    Regards

    Attachments:
    You must be logged in to view attached files.
    #659443

    Luke Nielsen
    Keymaster

    Hello,

    The theme has by default that code that is related to the color variations and etc. so we do not know which code we should add there. Can your developer provide the error logs that show in the server logs?

    I await your response.

    Kind Regards

    #659476

    mudesports
    Participant

    Hi Luke,

    Seems that the image I passed you is all that we can have regarding Logs. Not easy to work with ITs here, sorry.
    We work with a self-hosted server and seems our IT cannot do much more.

    I’ve just remembered that we have a local site website hosted on Siteground. I can try to replicate the same issue there and see what happen. If it’s a server issue we will be able to know as it should work fine.

    I’ll get back to you next week after my tests.

    Regards and great weekend ahead!

    #659573

    Luke Nielsen
    Keymaster

    Hello,

    Okay, I will wait for your response.

    Thank you for your time and patience.

    Kind Regards

    #662162

    mudesports
    Participant

    Hi Luke,

    Following your response as the problem is on our server, I did migrate the test site to a new hosting (Test Period) so we can check if the problem returning a blank page when single product layout is ENABLED get fixed.

    So far, it’s not working. I did increase the PHP memory limit as you did suggest before but nothing.
    I pass you FTP and Cpanel access on moderators area so you can have a look.

    Regards

    #662262

    Luke Nielsen
    Keymaster

    Hello,

    We have investigated this issue and identified the reason why your content is not displaying properly — it’s related to the WPML plugin.

    While researching similar cases, we came across a thread on the official WPML forum that describes an identical problem:
    https://wpml.org/es/forums/topic/wpml-activado-error-en-pagina-de-producto-con-algunas-variaciones-de-productos/

    In that thread, a user shared a solution that actually works and resolves the issue. However, it’s unclear why the WPML team has not yet implemented an official fix.

    In this case, we recommend reaching out to WPML technical support and asking them to revisit the situation and include an official fix in a future plugin update.

    In the meantime, to ensure your site remains stable, we can provide you with a temporary custom code snippet that will fix the issue until WPML releases an update.

    add_action( 'wp', function() {
        $hook_name = 'elementor/frontend/the_content';
    
        global $wp_filter;
    
        if ( isset( $wp_filter[ $hook_name ] ) ) {
            foreach ( $wp_filter[ $hook_name ]->callbacks as $priority => $callbacks ) {
                foreach ( $callbacks as $key => $callback ) {
                    if (
                        is_array( $callback['function'] )
                        && is_object( $callback['function'][0] )
                        && method_exists( $callback['function'][0], 'duplicate_css_class_with_original_id' )
                    ) {
                        $object = $callback['function'][0];
    
                        if ( get_class( $object ) === 'WPML_Elementor_Adjust_Global_Widget_ID' ) {
                            remove_action( $hook_name, [ $object, 'duplicate_css_class_with_original_id' ], $priority );
                        }
                    }
                }
            }
        }
    }, 1000 );

    Kind Regards

    #662350

    mudesports
    Participant

    Hi Luke,

    Thanks for your time and patience into resolving this issue.

    I’m afraid I was right when I said the problem was not related to our server 😉

    I did contact WPML, in fact it was the first thing I did long ago but they didn’t find the issue, so I appreciate that finally we found the root of the problem.

    Best and congrats for your great work and support!

    #662384

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for your understanding and collaboration throughout the troubleshooting process. We’re glad to have identified the root cause of the issue and provided a workable temporary solution. Your promptness and insights significantly contributed to resolving the matter.

    Please reach out if you have any further queries or need additional assistance in the future. We are here to support you.

    Best regards

Viewing 23 posts - 31 through 53 (of 53 total)

The topic ‘Product Variations on Product Category / Shop (Archive) not working’ is closed to new replies.