WordPress.org

Support

Support » How-To and Troubleshooting » Error Fix: wp-admin/categories.php

Error Fix: wp-admin/categories.php

  • The function wp_dropdown_cats requires at least one argument. In wp-admin/categories.php on line 186 is a call to wp_dropdown_cats with no arguments, this generates the following error:
    Missing argument 1 for wp_dropdown_cats() Missing argument 1 for wp_dropdown_cats()
    I’ve only briefly looked at the code for wp_dropdown_cats but a simple fixes appears to be to change line 186 to look like:
    <?php wp_dropdown_cats(false); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error Fix: wp-admin/categories.php’ is closed to new replies.
Skip to toolbar