• Resolved acrogame

    (@acrogame)


    Today I wanted to import a csv file with 35 new products. It was not possible: the button after the selection of the csv file to continue to import was not there, Woommerce crashed and I was in recovery mode.

    Then on my host cpanel I set php version back to 8.0 and all went smooth with no issue and I could import my new products.

    I can give the error details per private email.

    Best

    LF

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @acrogame

    Thanks for reaching out!

    I am sorry to hear that you are unable to import products to your site wherein the Continue button is not showing, then later on crashed your site. Furthermore, reverting back to PHP 8.0 resolved the issue here.

    For us to investigate your issue further, I’d like to understand your site properly. Please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Thread Starter acrogame

    (@acrogame)

    Hi xue28,

    thank you!

    I uploaded all info I have here:

    https://gist.github.com/gameover2015/cdf723e6ccc7ef28fd6b5cba3f0a1357

    hope it helps!

    LF

    Hello,

    Can you switch the site theme to Storefront, and disable all plugins except WooCommerce and then import the products again?

    More info: https://woocommerce.com/document/how-to-test-for-conflicts/

    It would be great if you share your System Status Report, found under WooCommerce > Status, on your site. That might provide more information for us to check.

    Thanks.

    Thread Starter acrogame

    (@acrogame)

    Hi Igor,

    are you kidding? Sorry no: I have some thousands of products and it will be too much time-consuming for me. I understand, but if with php 8.0 all is working again smoothly and the WordPress report tells that is your software that fails, is this not enough to begin to debug?

    Hello,

    I’ve re-read the original inquiry, I understand the error received is pointing to WooCommerce. Typically, this could be a plugin/theme conflict. I recommend you to check the following:

    1. Outdated plugins or themes: If plugins or themes are not up-to-date, they might not be compatible with the current version of WooCommerce. This can lead to unexpected behavior or conflicts. Be sure to update your plugins and themes to the latest version.

    2. Custom code: Please check if the site is implementing any custom code, you can disable it to check if it is affecting the normal behavior when importing a file. Custom code can be found in your functions.php file, or it can be implemented via plugins, e.g. the code snippets plugin.

    3. Multiple plugins handling the same functionality: When two or more plugins try to perform the same or similar functions, they may conflict with each other. If you have a plugin to import products, you can temporarily disable it to see if it affects the WooCommerce behavior.

    4. Limited server resources: If your server has limited resources (e.g., memory, processing power, etc.), multiple plugins running simultaneously can cause conflicts.

    To pinpoint a plugin conflict, you can perform a plugin conflict test as previously advised, moreover, enabling WordPress debugging (by adding define(‘WP_DEBUG’, true); to your wp-config.php file) can help identify any error messages related to the conflict.

    If that does not help, please share your System Status Report, found under WooCommerce > Status, on your site, that will permit us to take a closer look at the site’s configuration.

    Best.

    Thread Starter acrogame

    (@acrogame)

    I found the report, you’ll find it here

    https://gist.github.com/gameover2015/45300e9e6090399c884a02fb9b70a9f0
    I hope it helps ??

    About your points:

    I update regularly plugins and themes every 1-2 weeks,
    I have always custom code in my child theme related to the look and functionality of the pages (front end)
    I could have plugins which could handling the same functionality, but not to import products
    I don’t think to have server limited resources, or at least I hope so.

    Thank you Igor for your patience!

    Best
    LF


    Hello,

    You can update your WooCommerce database, under WooCommerce > status > tools > update database, check it to see if that makes a difference.

    Failed: 39
    Pending: 1

    Another important thing to check are the cron jobs, you can check them using the WP-Crontrol plugin, that might help to find more information about the cause of the issue. More info: How to View and Control the Cron Jobs

    I hope this helps.

    Thread Starter acrogame

    (@acrogame)

    Hello,

    I updated WooCommerce database
    switched to php 8.1 again
    on product page clicked import Products: page opens without the continue button.
    Anyway I browse for a csv file to upload
    and WP send me this report

    https://gist.github.com/gameover2015/76e83ab318754e5d8f9d622d40f3a131

    I witch on php 8.0 again
    I install WP crontrol.
    Well, I’m not acquainted with the cron jobs, I browsed the events, but I didn’t find anything about this issue, no clue. Do you like a screen image?

    Best
    LF

    Saif

    (@babylon1999)

    Hello @acrogame,

    Thank you for trying our suggestions so far!

    The function the error is pointing to is mb_list_encodings() which is part of the Multibyte String extension.

    I can see it installed on your site’s system status report. However, it might not be configured properly in PHP 8.1.

    Please contact your host about this and share with them the error log in addition to what’s mentioned above.

    Let us know how it goes! :?)

    Thread Starter acrogame

    (@acrogame)

    Hi Saif,

    It worked! I installed mbstring by myself and the issue is over. Thanks a lot! You guys helped me with utmost patience ??

    Very grateful.
    Best
    LF

    Hi @acrogame

    You are most welcome and we’re glad that worked! ??

    Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce crashes with Php 8.1’ is closed to new replies.