Title: [Plugin: Omni Secure Files] load_menu_root error
Last modified: August 20, 2016

---

# [Plugin: Omni Secure Files] load_menu_root error

 *  [Paul](https://wordpress.org/support/users/pplumridge/)
 * (@pplumridge)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/)
 * After upgrading from version 1.5 to 1.8 of Omni Secure Files I now get the following
   error:
 * > Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > class ‘OmniSecureFiles’ does not have a method ‘load_menu_root’ in C:\xampp\
   > htdocs\wp-includes\plugin.php on line 405
 * I get the same error on both WordPress 3.2.1 and 3.3 and with both a web hosted
   site and local (XAMPP hosted ) site
 * [http://wordpress.org/extend/plugins/omni-secure-files/](http://wordpress.org/extend/plugins/omni-secure-files/)

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

 *  [icc97](https://wordpress.org/support/users/icc97/)
 * (@icc97)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/#post-2482949)
 * Yes I am getting the same error.
    - OSF 1.8
    - WordPress 3.3.1
    - PHP 5.2.13
    - IIS
    - Windows 7
 *  [icc97](https://wordpress.org/support/users/icc97/)
 * (@icc97)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/#post-2482950)
 * [@pplumridge](https://wordpress.org/support/users/pplumridge/) I’ve done some
   checking of the changes that were made. Looks like the call to load_menu_root
   is now redundant. The function load_menu_root existed in v1.7 but got removed
   in v1.8. Here’s the actual [plugin differences](http://plugins.trac.wordpress.org/changeset?reponame=&new=480082%40omni-secure-files&old=475018%40omni-secure-files#file1)
   if you’re interested.
 * So if you edit your plugin and comment out line 63 of omni-secure-files/omni-
   secure-files.php (the line that mentions ‘load_menu_root’) then your error will
   go away.
 * I’m not a developer for the plugin – but I’m pretty sure this is correct.
 *  [icc97](https://wordpress.org/support/users/icc97/)
 * (@icc97)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/#post-2482951)
 * I’m getting an error when trying to create a directory with OSF 1.8. My PHP error
   log gives:
 * `WordPress database error Field 'node_uri' doesn't have a default value for query
   INSERT INTO`wp_osf_nodes`(`node_name`,`node_type`,`node_parent_ID`,`modified`,`
   created`) VALUES ('temp','directory','0','2012-01-13 15:04:57','2012-01-13 15:
   04:57') made by do_action, call_user_func_array, OmniSecureFiles->menu_root, 
   OmniSecureFilesNode->save`
 *  Thread Starter [Paul](https://wordpress.org/support/users/pplumridge/)
 * (@pplumridge)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/#post-2482952)
 * Thanks [@icc97](https://wordpress.org/support/users/icc97/). Commenting out the
   line is what i did in the end anyway. Hopefully there will be a fix for this 
   soon. Probably best if you open a new topic for your directory creation problem.

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

The topic ‘[Plugin: Omni Secure Files] load_menu_root error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/omni-secure-files.svg)
 * [Omni Secure Files](https://wordpress.org/plugins/omni-secure-files/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/omni-secure-files/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/omni-secure-files/)
 * [Active Topics](https://wordpress.org/support/plugin/omni-secure-files/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/omni-secure-files/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/omni-secure-files/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/pplumridge/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-load_menu_root-error/#post-2482952)
 * Status: not resolved