{"id":6420471,"date":"2015-08-11T11:35:04","date_gmt":"2015-08-11T11:35:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/fatal-error-1756\/"},"modified":"2016-08-30T16:41:31","modified_gmt":"2016-08-30T16:41:31","slug":"fatal-error-1756","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/fatal-error-1756\/","title":{"rendered":"Fatal error"},"content":{"rendered":"<p>Tried to activate plugin but got an error below<\/p>\n<p>Notice: Use of undefined constant __DIR__ &#8211; assumed &#8216;__DIR__&#8217; in \/wp-content\/plugins\/agp-ajax-taxonomy-filter\/agp-core\/agp-core.php on line 26<\/p>\n<p>Warning: require_once(__DIR__\/classes\/Agp_Autoloader.class.php) [function.require-once]: failed to open stream: No such file or directory in \/wp-content\/plugins\/agp-ajax-taxonomy-filter\/agp-core\/agp-core.php on line 26<\/p>\n<p>Fatal error: require_once() [function.require]: Failed opening required &#8216;__DIR__\/classes\/Agp_Autoloader.class.php&#8217; (include_path=&#8217;.:\/usr\/local\/share\/pear&#8217;) in \/wp-content\/plugins\/agp-ajax-taxonomy-filter\/agp-core\/agp-core.php on line 26<\/p>\n<p>https:\/\/wordpress.org\/plugins\/agp-ajax-taxonomy-filter\/<\/p>\n","protected":false},"template":"","class_list":["post-6420471","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6420471","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\/6420471\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6420471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}