Title: Plugin breaks WP admin panels
Last modified: June 30, 2019

---

# Plugin breaks WP admin panels

 *  [julieng31](https://wordpress.org/support/users/julieng31/)
 * (@julieng31)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/)
 * Hello,
 * thanks for the work done on this plugin.
 * My configuration is : WP5.2.2 and PHP 7.3. I am using Subpages Extended 1.6.2.
 * This version breaks different WP admin panels (I try to translate the panel names
   since my WP in not in English) :
    * appearance / customize * appearance / header*
   appearance / background

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

 *  Thread Starter [julieng31](https://wordpress.org/support/users/julieng31/)
 * (@julieng31)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-11694286)
 * Hello,
 * I have found that this comes from a compatibility issue with plugin “The Events
   Calendar”.
 *  Thread Starter [julieng31](https://wordpress.org/support/users/julieng31/)
 * (@julieng31)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-11694287)
 * If it helps, here is the post I have written on “The Events Calendar” support:
   [post](https://wordpress.org/support/topic/error-returned-by-wp/#post-11694283).
    -  This reply was modified 6 years, 11 months ago by [julieng31](https://wordpress.org/support/users/julieng31/).
 *  [TRILOS new media](https://wordpress.org/support/users/trilos/)
 * (@trilos)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-12066051)
 * Same here, together with Plugin Subpages Extended (as mentioned first by julieng31).
   Problems occur only when both plugins are activated:
    /wp-admin/widgets.php shows
   no Widget Areas /wp-admin/customize.php?return=%2Fwp-admin%2Fwidgets.php shows
   the Options (Metabox) of Plugin Subpages Extended.
 * Technical Error Message by WP Core:
 *     ```
       Ein Fehler vom Typ E_ERROR wurde in der Zeile 16 der Datei
       (...)/web/wp-content/plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.php verursacht. Fehlermeldung: Uncaught ArgumentCountError: Too few arguments to function NestedPages\Entities\Post\PrivatePostParent::metabox(), 1 passed in (...)/web/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in (...)/web/wp-content/plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.php:16
       Stack trace:
       #0 (...)/web/wp-includes/class-wp-hook.php(286): NestedPages\Entities\Post\PrivatePostParent->metabox('
       ```
   
 * WordPress 5.2.4
    Theme Divi Version: 4.0.3 php 7.3.10 Nested Pages Version: 3.1.7
   Subpages Extended Version: 1.6.4
 * See also [https://wordpress.org/support/topic/conflict-with-plugin-subpages-extended/#post-12066067](https://wordpress.org/support/topic/conflict-with-plugin-subpages-extended/#post-12066067)
    -  This reply was modified 6 years, 7 months ago by [TRILOS new media](https://wordpress.org/support/users/trilos/).
 *  [toto](https://wordpress.org/support/users/toto/)
 * (@toto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-12130942)
 * I have this error:
    Is a conflict between Nested Pages and Subpages Extended 
   [https://bg.wordpress.org/plugins/wp-nested-pages/](https://bg.wordpress.org/plugins/wp-nested-pages/)
 * Parent (Subpages of): ?
    Fatal error: Uncaught ArgumentCountError: Too few arguments
   to function NestedPages\Entities\Post\PrivatePostParent::metabox(), 1 passed 
   in /home/###/#####/wp-includes/class-wp-hook.php on line 288 and exactly 3 expected
   in /home/###/#####/wp-content/plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.
   php:16 Stack trace: #0 /home/###/#####/wp-includes/class-wp-hook.php(288): NestedPages\
   Entities\Post\PrivatePostParent->metabox(‘<select name=”w…’) #1 /home/###/#####/
   wp-includes/plugin.php(206): WP_Hook->apply_filters(‘<select name=”w…’, Array)#
   2 /home/###/#####/wp-content/plugins/subpages-extended/subpages-extended-util-
   dropdown-pages.php(38): apply_filters(‘wp_dropdown_pag…’, ‘<select name=”w…’)#
   3 /home/###/#####/wp-content/plugins/subpages-extended/subpages-extended.php(
   195): shailan_subpages_dropdown_pages(Array) #4 /home/###/#####/wp-includes/class-
   wp-widget.php(518): shailan_SubpagesWidget->form(A in /home/###/#####/wp-content/
   plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.php on line 16
 * Please help
 *  [TRILOS new media](https://wordpress.org/support/users/trilos/)
 * (@trilos)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-12146706)
 * WP 5.3 sends a mail about technical problems (“recovery info”):
 * (…)
 *     ```
       Fehler-Details
       ==============
       Ein Fehler vom Typ E_ERROR wurde in der Zeile 16 der Datei /var/www/vhosts/<domain>/web/wp-content/plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.php verursacht. Fehlermeldung: Uncaught ArgumentCountError: Too few arguments to function NestedPages\Entities\Post\PrivatePostParent::metabox(), 1 passed in /var/www/vhosts/<domain>/web/wp-includes/class-wp-hook.php on line 288 and exactly 3 expected in /var/www/vhosts/<domain>/web/wp-content/plugins/wp-nested-pages/app/Entities/Post/PrivatePostParent.php:16
       Stack trace:
       #0 /var/www/vhosts/<domain>/web/wp-includes/class-wp-hook.php(288): NestedPages\Entities\Post\PrivatePostParent->metabox('####
       ```
   
    -  This reply was modified 6 years, 7 months ago by [TRILOS new media](https://wordpress.org/support/users/trilos/).
 *  [Ahto](https://wordpress.org/support/users/ahtonaris/)
 * (@ahtonaris)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-12825550)
 * Encountered the same fatal error and tracked it down to line 38 in ‘subpages-
   extended/subpages-extended-util-dropdown-pages.php’ (plugin version 1.6.4).
 * Line 38 content:
 * `$output = apply_filters( 'wp_dropdown_pages', $output );`
 * This filter should have 3 arguments instead of one (source: [https://developer.wordpress.org/reference/hooks/wp_dropdown_pages/](https://developer.wordpress.org/reference/hooks/wp_dropdown_pages/))
 * Adding missing arguments solved the fatal error problem for me:
 * `$output = apply_filters( 'wp_dropdown_pages', $output, $r, $pages );`
    -  This reply was modified 6 years, 1 month ago by [Ahto](https://wordpress.org/support/users/ahtonaris/).
      Reason: improve readability

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

The topic ‘Plugin breaks WP admin panels’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subpages-extended.svg)
 * [Subpages Extended](https://wordpress.org/plugins/subpages-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subpages-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subpages-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/subpages-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subpages-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subpages-extended/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Ahto](https://wordpress.org/support/users/ahtonaris/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-wp-admin-panels/#post-12825550)
 * Status: not resolved