Bug report: PHP Warning on viewing Admin Menus
-
Good day,
On PHP 8.0.0, WordPress 6.0.1, I receive the following stack trace when accessing /wp-admin/admin.php?page=pp-capabilities-admin-menus
[21-Jul-2022 15:55:12 UTC] PHP Warning: Undefined variable $ppc_admin_menu_reload in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\capability-manager-enhanced\includes-core\admin-menus-promo.php on line 85 [21-Jul-2022 15:55:12 UTC] PHP Stack trace: [21-Jul-2022 15:55:12 UTC] PHP 1. {main}() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin.php:0 [21-Jul-2022 15:55:12 UTC] PHP 2. do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin.php:259 [21-Jul-2022 15:55:12 UTC] PHP 3. WP_Hook->do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\plugin.php:476 [21-Jul-2022 15:55:12 UTC] PHP 4. WP_Hook->apply_filters() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:331 [21-Jul-2022 15:55:12 UTC] PHP 5. PublishPress\Capabilities\CoreAdmin->AdminMenusPromo() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:307 [21-Jul-2022 15:55:12 UTC] PHP 6. include() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\capability-manager-enhanced\includes-core\CoreAdmin.php:68
The issue persists even with all other plugins disabled. There’s no stack trace being dumped to the page as far as I can tell: https://i.snipboard.io/GRTwWe.jpg
Let me know if I can provide additional information.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug report: PHP Warning on viewing Admin Menus’ is closed to new replies.