• For months now, the following message has appeared in the php_errolog: Undefined index: post_type in class-wc-admin-list-table-orders.php on line 650, the error occurs when entering the WC orders list. After searching for conflicts with other plug-ins, I detected that the problem occurs when the “Dynamic Caching” option is activated in Speed ??Optimizer. With the option disabled, the following is executed:

    Speed Optimizer OFF ejecuta estas 4 invocaciones con post_type:
    [10-Feb-2025 15:03:39 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: e-landing-page
    [10-Feb-2025 15:03:39 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: e-floating-buttons
    [10-Feb-2025 15:03:39 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: shop_order
    [10-Feb-2025 15:03:39 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: Array
    ------------------------------
    Speed Optimizer on only Dinmamic Cache Active ejecuta 6 invocaciones con post_type la del error es la que dice "NO DEFINIDO", pero se agraga una para "product", hay algo que esta mal la Cache Dinamica
    [10-Feb-2025 15:05:15 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: e-landing-page
    [10-Feb-2025 15:05:15 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: e-floating-buttons
    [10-Feb-2025 15:05:15 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: product
    [10-Feb-2025 15:05:15 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: shop_order
    [10-Feb-2025 15:05:15 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: NO DEFINIDO
    [10-Feb-2025 15:05:16 UTC] ?? WooCommerce: search_custom_fields() invocado en edit.php con post_type: Array

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Svetoslav Vasev

    (@svetoslavvasev)

    Hello @titowhisky ,

    I have attempted to replicate the problem on a fresh WordPress application with the only active plugins being the latest versions of the Speed Optimizer and WooCommerce. However, none of the reported errors were logged into the application’s PHP error log. This leads me to believe that the errors are most likely related to a custom setting on your site or another plugin/theme.

    In order for us to the review the reported problem further, please submit a support inquiry in our Help Desk from your SiteGround account.

    Best Regards,

    Svetoslav Vasev

    Thread Starter Tito Whisky

    (@titowhisky)

    The error is registered in public_html/wp-admin/php_errorlog, not in the php_errolog that is in public_html. At the time of execution, the rest of the plug-ins were disabled and there is no customization in that search. There are other users with the same problem, for example: https://www.ads-software.com/support/topic/undefined-index-post_type-in-class-wc-admin-list-table-orders-php-on-line-650/#post-18298457 https://www.ads-software.com/support/topic/undefined-index-post_type-in-class-wc-admin-list-table-orders-php-on-line-649/ The point is that I take the trouble to detect the incompatibility. So escalate it, I’m already reporting it here, I don’t have to go report it again to Site Ground.

    Plugin Support Svetoslav Vasev

    (@svetoslavvasev)

    @titowhisky ,

    I’d like to thank you for taking the time to investigate this problem and we’ll gladly bring the case to the attention of the plugin’s developers. However, for this purpose, we’ll need to replicate the problem first and gather enough information which can be used for further troubleshooting.

    During my troubleshooting, I made sure to check both the PHP error log inside the public_html folder and the one inside the wp-admin folder as well. None of them recorded any of the errors/messages that you reported in this thread.

    In order for us to proceed with debugging the problem in more detail, please log into your SiteGround account and submit an inquiry via our Help Desk.

    Best Regards,

    Svetoslav Vasev

    Thread Starter Tito Whisky

    (@titowhisky)

    I already contacted Site Ground support and they have been able to reproduce the problem but when doing it on a clean installation of WP only with WC and the OS they cannot reproduce it so it seems that the problem would be between the plug-in and the WP installation. They were going to investigate it. Thank you.

    Plugin Support Georgi Ganchev

    (@georgiganchev)

    Hello @titowhisky,

    As promised in the ticket the case has been brought to the attention of our developers. As soon as they investigate the case and provide us with additional information, we will provide an update in the ticket.

    Best regards,
    Georgi Ganchev
    SiteGround.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.