{"id":409381,"date":"2026-11-24T18:02:22","date_gmt":"2026-11-24T18:02:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hook-fuse\/"},"modified":"2026-11-24T19:06:23","modified_gmt":"2026-11-24T19:06:23","slug":"hook-fuse","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hook-fuse\/","author":23095418,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.2","stable_tag":"0.1.2","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Hook Fuse","header_author":"orcnd","header_description":"Stops a crash inside another plugin's hook from taking the whole page down. The error is caught, logged and reported once a week instead.","last_updated":"2026-11-24 19:06:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/orcnd\/hook-fuse","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":64,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"orcnd","date":"2026-11-24 18:32:18","revision":3821247},"0.1.1":{"tag":"0.1.1","author":"orcnd","date":"2026-11-24 18:47:41","revision":3821277},"0.1.2":{"tag":"0.1.2","author":"orcnd","date":"2026-11-24 19:06:23","revision":3821311}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3821247,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3821247,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3821247,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3821247,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3821247,"resolution":"1","location":"assets","locale":"","width":2400,"height":1350},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3821277,"resolution":"2","location":"assets","locale":"","width":2160,"height":1215},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3821277,"resolution":"3","location":"assets","locale":"","width":2160,"height":1215}},"screenshots":{"1":"The same form, sent by a visitor: without Hook Fuse and with Hook Fuse.","2":"The notice on the Dashboard when something new was caught.","3":"Tools &gt; Hook Fuse: the caught errors and the plugins to protect. The two \"Example\" plugins are demo plugins with a bug."}},"plugin_section":[],"plugin_tags":[2679,29197,14925,22682,8541],"plugin_category":[59],"plugin_contributors":[295125],"plugin_business_model":[],"class_list":["post-409381","plugin","type-plugin","status-publish","hentry","plugin_tags-debugging","plugin_tags-error-handling","plugin_tags-error-log","plugin_tags-fatal-error","plugin_tags-troubleshooting","plugin_category-utilities-and-tools","plugin_contributors-orcnd","plugin_committers-orcnd"],"banners":{"banner":"https:\/\/ps.w.org\/hook-fuse\/assets\/banner-772x250.png?rev=3821247","banner_2x":"https:\/\/ps.w.org\/hook-fuse\/assets\/banner-1544x500.png?rev=3821247","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hook-fuse\/assets\/icon-128x128.png?rev=3821247","icon_2x":"https:\/\/ps.w.org\/hook-fuse\/assets\/icon-256x256.png?rev=3821247","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hook-fuse\/assets\/screenshot-1.png?rev=3821247","caption":"The same form, sent by a visitor: without Hook Fuse and with Hook Fuse."},{"src":"https:\/\/ps.w.org\/hook-fuse\/assets\/screenshot-2.png?rev=3821277","caption":"The notice on the Dashboard when something new was caught."},{"src":"https:\/\/ps.w.org\/hook-fuse\/assets\/screenshot-3.png?rev=3821277","caption":"Tools &gt; Hook Fuse: the caught errors and the plugins to protect. The two \"Example\" plugins are demo plugins with a bug."}],"raw_content":"<!--section=description-->\n<p><strong>One plugin throws an error, and the visitor gets \"There has been a critical error on this website\" instead of your page.<\/strong> Hook Fuse keeps the page loading and writes the error to a log.<\/p>\n\n<p>You pick the plugins that cause trouble. When one of them throws an error inside a hook (a form submission, a checkout step, a tracking call), Hook Fuse stops that one callback and the rest of the page runs as usual.<\/p>\n\n<h4>What you get<\/h4>\n\n<ul>\n<li><strong>Pages that finish loading.<\/strong> A failed action ends, a failed filter passes its value on unchanged. The protected plugin's files are never changed.<\/li>\n<li><strong>A log you can act on.<\/strong> Hook, callback, error message, file and line, how many times and when, under Tools &gt; Hook Fuse. Enough to file a bug report with the plugin's author.<\/li>\n<li><strong>One email a week at most.<\/strong> Sent only when something new was caught, and you can switch it off.<\/li>\n<li><strong>A short notice<\/strong> on the Dashboard and Plugins screens when there are new errors. It goes away when you open the log or dismiss it.<\/li>\n<\/ul>\n\n<h4>How it works<\/h4>\n\n<ol>\n<li>Tick the plugins to protect under Tools &gt; Hook Fuse.<\/li>\n<li>Just before a hook runs, Hook Fuse wraps the callbacks of those plugins in memory.<\/li>\n<li>A callback throws. Hook Fuse catches the error, logs it, and WordPress goes on to the next callback.<\/li>\n<li>You read the log, report the bug, and untick the plugin once it is fixed.<\/li>\n<\/ol>\n\n<h4>A real case: Meta pixel and WPForms<\/h4>\n\n<p>The WPForms integration of Meta pixel for WordPress throws a TypeError when a form has an email confirmation field. The visitor presses Send and gets the critical error page. With Hook Fuse the form is submitted, the confirmation message shows and the error is in the log. The first screenshot is that form, without and with Hook Fuse.<\/p>\n\n<p>If the Meta pixel plugin is installed when you first activate Hook Fuse, it is protected right away.<\/p>\n\n<h4>What it cannot catch<\/h4>\n\n<ul>\n<li>Errors while a plugin's files are being loaded, before any hook runs.<\/li>\n<li>Code that runs outside hooks.<\/li>\n<li>Real fatal errors that PHP cannot catch, such as running out of memory or a syntax error.<\/li>\n<\/ul>\n\n<p>Hook Fuse hides errors from visitors, not from you. It is a stopgap until the plugin's author fixes the bug, so please report the errors you see in the log to them.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>Hook Fuse makes no HTTP requests to any outside service and has no tracking. The log is stored in your own database.<\/p>\n\n<p>The one thing that leaves your site is the weekly email. It is on by default and is sent only in a week when new errors were caught, to the site's admin email address (Settings &gt; General). It goes out through your site's own mail setup (<code>wp_mail<\/code>), not through any service run by Hook Fuse. It contains the site name, and for each new error: the protected plugin's folder name, the hook name, the error message, the file path relative to wp-content and the line number, and how many times it happened. To stop it, untick \"Weekly email\" under Tools &gt; Hook Fuse.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate Hook Fuse from the Plugins screen.<\/li>\n<li>Open Tools &gt; Hook Fuse and tick the plugins you want to protect.<\/li>\n<li>The weekly email to the site's admin address is on by default. Untick \"Weekly email\" on the same page if you do not want it.<\/li>\n<li>Check the log after plugin updates.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20slow%20my%20site%20down%3F\"><h3>Does it slow my site down?<\/h3><\/dt>\n<dd><p>It looks at each hook once per request, just before the hook runs, and only wraps callbacks that belong to a protected plugin. With no plugin protected it does nothing at all.<\/p><\/dd>\n<dt id=\"will%20it%20hide%20errors%20i%20need%20to%20know%20about%3F\"><h3>Will it hide errors I need to know about?<\/h3><\/dt>\n<dd><p>Every caught error is logged with its file and line. With WP_DEBUG on, each one is also written to the PHP error log.<\/p><\/dd>\n<dt id=\"can%20i%20protect%20every%20plugin%3F\"><h3>Can I protect every plugin?<\/h3><\/dt>\n<dd><p>You can, but it is better to protect only the plugins that cause trouble. A plugin whose hook failed may have done only part of its work.<\/p><\/dd>\n<dt id=\"does%20it%20change%20the%20protected%20plugin%3F\"><h3>Does it change the protected plugin?<\/h3><\/dt>\n<dd><p>No. It wraps the plugin's hook callbacks in memory while the page loads. Deactivating Hook Fuse puts everything back.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>The hidden security fields of the two forms on the Hook Fuse page no longer share the same id.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>The error log fits narrow screens: long hook, callback and file names now break onto a new line, and on phones each value is shown under its column name.<\/li>\n<li>The \"Clear the log\" and \"Save Changes\" buttons no longer share the same id.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release: protected plugins list, error log, weekly email, admin notice.<\/li>\n<\/ul>","raw_excerpt":"Stops a crash inside another plugin's hook from taking your whole page down. The error is logged and reported once a week instead.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/409381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=409381"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/orcnd"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=409381"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=409381"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=409381"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=409381"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=409381"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=409381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}