Bug report: PHP Warning on viewing page hierarchy folders
-
Good day,
On PHP 8.0.0, I receive the following stack traces when expanding any folder under page hierarchy:
[01-Jul-2022 16:18:21 UTC] PHP Warning: Attempt to read property "post_type" on null in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\wicked-folders\lib\class-wicked-folders-post-hierarchy-dynamic-folder.php on line 100 [01-Jul-2022 16:18:21 UTC] PHP Stack trace: [01-Jul-2022 16:18:21 UTC] PHP 1. {main}() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin-ajax.php:0 [01-Jul-2022 16:18:21 UTC] PHP 2. do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin-ajax.php:187 [01-Jul-2022 16:18:21 UTC] PHP 3. WP_Hook->do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\plugin.php:476 [01-Jul-2022 16:18:21 UTC] PHP 4. WP_Hook->apply_filters() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:331 [01-Jul-2022 16:18:21 UTC] PHP 5. Wicked_Folders_Ajax->ajax_get_child_folders() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:307 [01-Jul-2022 16:18:21 UTC] PHP 6. Wicked_Folders_Post_Hierarchy_Dynamic_Folder->fetch() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\wicked-folders\lib\class-wicked-folders-ajax.php:526 [01-Jul-2022 16:18:21 UTC] PHP Warning: Attempt to read property "ID" on null in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\wicked-folders\lib\class-wicked-folders-post-hierarchy-dynamic-folder.php on line 102 [01-Jul-2022 16:18:21 UTC] PHP Stack trace: [01-Jul-2022 16:18:21 UTC] PHP 1. {main}() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin-ajax.php:0 [01-Jul-2022 16:18:21 UTC] PHP 2. do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-admin\admin-ajax.php:187 [01-Jul-2022 16:18:21 UTC] PHP 3. WP_Hook->do_action() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\plugin.php:476 [01-Jul-2022 16:18:21 UTC] PHP 4. WP_Hook->apply_filters() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:331 [01-Jul-2022 16:18:21 UTC] PHP 5. Wicked_Folders_Ajax->ajax_get_child_folders() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-includes\class-wp-hook.php:307 [01-Jul-2022 16:18:21 UTC] PHP 6. Wicked_Folders_Post_Hierarchy_Dynamic_Folder->fetch() C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\wicked-folders\lib\class-wicked-folders-ajax.php:526
It does not seem to crash when loading a folder already viewed before; only clicking a new folder you haven’t been in seems to do it. 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/WhJ5qO.jpg
Let me know if I can provide additional information.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Bug report: PHP Warning on viewing page hierarchy folders’ is closed to new replies.