Title: Missing Files &amp; Call to Undefined Function
Last modified: December 22, 2017

---

# Missing Files & Call to Undefined Function

 *  [yoursiteneedsme](https://wordpress.org/support/users/charrabennett/)
 * (@charrabennett)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/missing-files-call-to-undefined-function/)
 * Hey guys,
 * So I’ve been having issues with this site and logging into the Dashboard. Whenever
   I would login, the site would tell me that I was missing several files from Options
   Framework when attempting to access the admin panel or the home page (I couldn’t
   visit any page of the site after I’d logged in).
 * I did end up adding the files that were missing by searching for it on Google
   and finding the files on Github (the following were missing from the plugin: 
   class-options-framework-admin.php, class-options-interface.php, and class-options-
   sanitization.php) and then got a notification saying that class-options-framework-
   admin.php made a call to an undefined function (get_option_name). I removed the
   call to the function (as there was no defining of the function in the file and
   I wasn’t sure what the defining should be) but this is only a temporary fix as
   I keep getting notices saying that there are errors for the site when I access
   the admin. I only did this so that way I could see if I could access the admin
   as the site hadn’t been updated and I needed to check that there were no other
   issues.
 * Can I have someone check that site or send me the correct class-options-framework-
   admin.php file to fix this?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-files-call-to-undefined-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [yoursiteneedsme](https://wordpress.org/support/users/charrabennett/)
 * (@charrabennett)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/missing-files-call-to-undefined-function/#post-9827254)
 * Bumping this to keep it active and see if anyone can help me with this issue?

Viewing 1 replies (of 1 total)

The topic ‘Missing Files & Call to Undefined Function’ is closed to new replies.

 * ![](https://ps.w.org/options-framework/assets/icon-256x256.png?rev=977481)
 * [Options Framework](https://wordpress.org/plugins/options-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/options-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/options-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/options-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/options-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/options-framework/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [yoursiteneedsme](https://wordpress.org/support/users/charrabennett/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/missing-files-call-to-undefined-function/#post-9827254)
 * Status: not resolved