{"id":19014012,"date":"2026-09-08T04:27:22","date_gmt":"2026-09-08T04:27:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/nitropack-plugin-missing-required-file\/"},"modified":"2026-09-08T04:27:22","modified_gmt":"2026-09-08T04:27:22","slug":"nitropack-plugin-missing-required-file","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/nitropack-plugin-missing-required-file\/","title":{"rendered":"NitroPack plugin missing required file"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m encountering a fatal error with the NitroPack plugin downloaded directly from the WordPress.org plugin repository.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The error is:<code>Fatal error: Uncaught Error: Failed opening required '\/wp-content\/plugins\/nitropack\/view\/modals\/modal-deactivate-disconnect.php' (include_path=\/wp-content\/plugins\/nitropack\/view\/dashboard.php:31<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The relevant code in&nbsp;<code>dashboard.php<\/code>&nbsp;(line 31) is:<code>&lt;?php require_once NITROPACK_PLUGIN_DIR . 'view\/modals\/modal-deactivate-disconnect.php'; ?&gt;<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the referenced file&nbsp;<code>view\/modals\/modal-deactivate-disconnect.php<\/code>&nbsp;is not included in the plugin package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I also downloaded a fresh copy of the plugin from the WordPress.org repository and confirmed that the file is missing there as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I noticed that the package contains a similarly named file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>view\/modals\/modal-disconnect-deactivate-plugin.php<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could you please confirm whether this file is intended to replace&nbsp;<code>modal-deactivate-disconnect.php<\/code>, or whether the required file is missing from the current plugin release?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If this is a packaging or release issue, please advise on the appropriate fix.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-19014012","topic","type-topic","status-publish","hentry","topic-tag-caching","topic-tag-fatal-error"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19014012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19014012\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19014012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}