Title: buggy code in classes/Item.php
Last modified: August 30, 2016

---

# buggy code in classes/Item.php

 *  [indiadeveloper](https://wordpress.org/support/users/indiadeveloper/)
 * (@indiadeveloper)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/buggy-code-in-classesitemphp/)
 * Hi
 * there is bug in the code on file classes/Item.php
 * on line no 590
 * if(!@rename($old_path, c))
 * what is c , it should be $new_path which is defined earlier in the code
 * because of this you can’t change the category of file because they won’t move
   to the other category folder.
 * Thanks
 * [https://wordpress.org/plugins/wp-filebase/](https://wordpress.org/plugins/wp-filebase/)

The topic ‘buggy code in classes/Item.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-filebase_ffff6e.svg)
 * [WP-Filebase Download Manager](https://wordpress.org/plugins/wp-filebase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-filebase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-filebase/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-filebase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-filebase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-filebase/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [indiadeveloper](https://wordpress.org/support/users/indiadeveloper/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/buggy-code-in-classesitemphp/)
 * Status: not resolved