Title: missing api.php
Last modified: September 1, 2016

---

# missing api.php

 *  Resolved [guelfoalexander](https://wordpress.org/support/users/guelfoalexander/)
 * (@guelfoalexander)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/)
 * Warning: require_once(/home/x/public_html/wp-content/plugins/wp-members/admin/
   includes/api.php): failed to open stream: No such file or directory in /home/
   x/public_html/wp-content/plugins/wp-members/admin/includes/class-wp-members-admin-
   api.php on line 90
 * Fatal error: require_once(): Failed opening required ‘/home/x/public_html/wp-
   content/plugins/wp-members/admin/includes/api.php’ (include_path=’.:/usr/lib/
   php:/usr/local/lib/php’) in /home/x/public_html/wp-content/plugins/wp-members/
   admin/includes/class-wp-members-admin-api.php on line 90
 * [https://wordpress.org/plugins/wp-members/](https://wordpress.org/plugins/wp-members/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [excentricjester](https://wordpress.org/support/users/excentricjester/)
 * (@excentricjester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570561)
 * I’m seeing the same error with debugging turned on. The entire admin returns 
   a 500 error unless wp-members is removed from the plugins directory.
 *  Thread Starter [guelfoalexander](https://wordpress.org/support/users/guelfoalexander/)
 * (@guelfoalexander)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570564)
 * Exactly excentricjester, the back-end stucks until plugin is disabled (or directory
   renamed/canceled)
 * I disabled the plugin via wordpress.com account. Never thought of this, it turned
   out to be a very useful feature… Since it’s the FIRST TIME IN MY LIFE I didn’t
   backup the entire site, because “it’s useless, what can go wrong?” AHhhhrgh. 
   five minutes panic. Please fix.
    GAG
 *  [excentricjester](https://wordpress.org/support/users/excentricjester/)
 * (@excentricjester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570567)
 * To fix your site for now you can upload the missing api.php file from the Github
   repo.
 * I’m sure Chad will update the plugin soon!
 *  [Judahjams](https://wordpress.org/support/users/judahjams/)
 * (@judahjams)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570569)
 * [@excentricjester](https://wordpress.org/support/users/excentricjester/) Line
   90 is blank now – be more specific if you can. The site I have this installed
   on needs this update as well –
 * Are we to replace an existing line of code or add this to a blank line? The require_once
   section is under the function load_dependencies() { section.
 * Thanks
 *  [Judahjams](https://wordpress.org/support/users/judahjams/)
 * (@judahjams)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570572)
 * Am I just blind? The GitHub repo only has older versions of files in it, nothing
   newer than 10 months? Am I missing a newer repo?
 *  [excentricjester](https://wordpress.org/support/users/excentricjester/)
 * (@excentricjester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570575)
 * Sorry, I updated my previous reply because while it was working it was linking
   to a different api.php file.
 * You might be in the wrong repo. Check github.com/butlerblog/wp-members/tree/master/
   admin/includes
 *  [searchfindconnect](https://wordpress.org/support/users/searchfindconnect/)
 * (@searchfindconnect)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570576)
 * I am getting the same issue. I tried the download api.php from git hub and place
   in DIR but same 500 error.
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570585)
 * Got it!!
 * Sorry for the issue. I actually had the new admin api file included with the 
   package, but it didn’t get added in the SVN commit to the plugin repo.
 * Rather than just add the file, I reversioned the package as 3.1.3.1 so that anyone
   who has downloaded the 3.1.3 version up to now will see the update.
 * Thanks all for posting!
 * [@judahjams](https://wordpress.org/support/users/judahjams/) re: the Github repo–
   that is an unofficial mirror that is not managed by me (or wordpress.org). That
   repo is a mirror created by bluehost and I have no idea why it doesn’t update.
   I’ve contacted them about it before.
 * The official repo on github is [https://github.com/butlerblog/wp-members](https://github.com/butlerblog/wp-members)
 * If you were downloading the api file from the repo, make sure (1) it is the repo
   listed above, and (2) that file is /admin/includes/api.php and not /includes/
   api.php. You’re actually better off downloading the entire package so that you
   get everything where it is supposed to be. Also, the 3.1.3.1 release addressing
   this is now in the wordpress.org repository so you can load it from there as 
   well.
 *  [Judahjams](https://wordpress.org/support/users/judahjams/)
 * (@judahjams)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570591)
 * @chadbuttler I updated the two files using the repo that [@excentricjester](https://wordpress.org/support/users/excentricjester/)
   pointed me to and it worked great after that. Thanks for the quick update and
   for contributing to the WordPress community.
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570595)
 * No problem – thanks for the info.
 *  [excentricjester](https://wordpress.org/support/users/excentricjester/)
 * (@excentricjester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570601)
 * Thanks for the quick update again Chad! Great support 🙂
 *  Thread Starter [guelfoalexander](https://wordpress.org/support/users/guelfoalexander/)
 * (@guelfoalexander)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570611)
 * Thanks. Solved, great job!
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570620)
 * No problem – glad we got is solved.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘missing api.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Backend](https://wordpress.org/support/topic-tag/backend/)

 * 13 replies
 * 5 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/missing-apiphp/#post-7570620)
 * Status: resolved