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
-
Hello,
I have found that this comes from a compatibility issue with plugin “The Events Calendar”.
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-
This reply was modified 6 years, 5 months ago by
TRILOS new media.
I have this error:
Is a conflict between Nested Pages and Subpages Extended
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 16Please help
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, 4 months ago by
TRILOS new media.
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/)
Adding missing arguments solved the fatal error problem for me:
$output = apply_filters( 'wp_dropdown_pages', $output, $r, $pages );-
This reply was modified 5 years, 10 months ago by
Ahto. Reason: improve readability
-
This reply was modified 6 years, 5 months ago by
The topic ‘Plugin breaks WP admin panels’ is closed to new replies.