Support » Plugin: WP Gallery Metabox » Error in admin code

  • Error in class-wp-gallery-metabox-admin.php at string 60. WP function add_options_page() 6th parameter must be integer or null (it is $position), string ‘gallery_metabox’ given.

Viewing 1 replies (of 1 total)
  • This should fix the issue, worked for me.

    add_options_page('My Options', 'WP gallery metabox', 'manage_options', 'gallery_metabox', array($this, 'gallery_metabox'), 8);
Viewing 1 replies (of 1 total)
  • The topic ‘Error in admin code’ is closed to new replies.