Title: Bug fix
Last modified: August 30, 2016

---

# Bug fix

 *  Resolved [hunefalk](https://wordpress.org/support/users/hunefalk/)
 * (@hunefalk)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bug-fix-9/)
 * Hi,
 * I got the below PHP notice from your plugin when in debug mode
    `Notice: has_cap
   was called with an argument that is <strong>deprecated</strong> since version
   2.0! Usage of user levels by plugins and themes is deprecated. Use roles and 
   capabilities instead.`
 * The fix is in fun_box.php, line 29. Just change the ‘1’ to “Administrator” (or
   whatever role is suitable) in
    `add_options_page("Virtual Slide Box Builder","
   Virtual Slide Box Builder", 1, "Virtual_Slide_Box_Builder", "funbox_admin");`
 * In other words, the line will become something like
    `add_options_page("Virtual
   Slide Box Builder", "Virtual Slide Box Builder", 'Administrator', "Virtual_Slide_Box_Builder","
   funbox_admin");`
 * Thanks for a nice plugin!
 * [https://wordpress.org/plugins/wp-visual-slidebox-builder/](https://wordpress.org/plugins/wp-visual-slidebox-builder/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Enmanuel Corvo](https://wordpress.org/support/users/ecorvo/)
 * (@ecorvo)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bug-fix-9/#post-6547082)
 * Thanks! I will include this fix on the next update. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Bug fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-visual-slidebox-builder_b7c7d4.
   svg)
 * [Visual Slide Box Builder](https://wordpress.org/plugins/wp-visual-slidebox-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-visual-slidebox-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-visual-slidebox-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-visual-slidebox-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-visual-slidebox-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-visual-slidebox-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Enmanuel Corvo](https://wordpress.org/support/users/ecorvo/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/bug-fix-9/#post-6547082)
 * Status: resolved