• Resolved separatereality

    (@separatereality)


    Hi,
    We bought the WooCommerce Logger add-on for a customer and now we get a fatal error whenever we want to save settings in WooCommerce Germanized (whatever they do special – we need this plugin).

    It looks like the AddOn is missing a check for the existence of the method to at least avoid the fatal.
    This is the log:

    2025/02/26 08:59:45 [error] xxx: *xxx FastCGI sent in stderr: "PHP message: PHP Fatal error:? Uncaught Error: Call to a member function get_sections() on null in …/wordpress/wp-content/plugins/simple-history-woocommerce/inc/class-woocommerce-logger.php:1416
    Stack trace:
    #0 …/wordpress/wp-includes/class-wp-hook.php(324): Simple_History\AddOns\WooCommerce\WooCommerce_Logger->on_wp_loaded_store_settings_info()
    #1 …/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 …/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()

    thrown in …/wordpress/wp-content/plugins/simple-history-woocommerce/inc/class-woocommerce-logger.php on line 1416" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxxxxxx, request: "POST /wp-admin/admin.php?page=wc-settings&tab=germanized-storeabill&section=business HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.3-fpm.sock:", host: ?xxxxx“, referrer: "https://..../wp-admin/admin.php?page=wc-settings&tab=germanized-storeabill&section=business"

    It would be great if you could look into it and have a little update.

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