Yes that’s correct. Are you able to check your PHP error log to see what the error is?
Also, the plugin crash when I modify the products in woocommerce.
This is the error when I modify the products in woocommerce:
Fatal error: Uncaught Error: parse_url() expects parameter 1 to be string, null given
in /home/customer/www/altaico.es/public_html/wp-content/plugins/query-monitor/collectors/http.php on line 374
Call stack:
parse_url()
wp-content/plugins/query-monitor/collectors/http.php:374QM_Collector_HTTP::process()
wp-content/plugins/query-monitor/classes/Collectors.php:84QM_Collectors::process()
wp-content/plugins/query-monitor/classes/Dispatcher.php:108QM_Dispatcher::get_outputters()
wp-content/plugins/query-monitor/dispatchers/Redirect.php:39QM_Dispatcher_Redirect::filter_wp_redirect()
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
wp-includes/pluggable.php:1396wp_redirect()
wp-admin/includes/post.php:2205redirect_post()
wp-admin/post.php:234
Query Monitor
And this is the error when I add the code for timings:
Fatal error: Uncaught Error: Call to undefined function my_potentially_slow_function()
in /home/customer/www/altaico.es/public_html/wp-content/themes/generatepress-child/functions.php on line 138
Call stack:
include()
wp-settings.php:611require_once()
wp-config.php:83require_once()
wp-load.php:50require_once()
wp-admin/admin.php:34require_once()
wp-admin/index.php:10
Query Monitor
my_potentially_slow_function is just some example code, you should replace this with the code that you’re trying to profile.
