{"id":16515838,"date":"2023-02-28T22:57:06","date_gmt":"2023-02-28T22:57:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/installing-plugin-throws-error\/"},"modified":"2023-02-28T22:57:06","modified_gmt":"2023-02-28T22:57:06","slug":"installing-plugin-throws-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/installing-plugin-throws-error\/","title":{"rendered":"Installing Plugin Throws Error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello! So, when I try to install the base plugin, this plugin, I get an error and the plugin only half installs. It&#8217;s in the GUI in the admin, but it trying to click on anything related to it brings up an empty page that says &#8220;There are no posts.&#8221; The error it initially throws is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Fatal error: Uncaught Error: Call to undefined function get_plugins() in \/var\/www\/vhosts\/resultspw.com\/subdomains\/dev-usc\/wp-content\/plugins\/logic-hop\/includes\/Measurement.php:49<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Any ideas? The installation step is fine, this triggers on activation.<\/p>\n","protected":false},"template":"","class_list":["post-16515838","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16515838","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\/16515838\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16515838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}