- Issue created by @Volha_Si
- Status changed to Needs review
over 1 year ago 7:04am 14 August 2023 - last update
over 1 year ago Patch Failed to Apply - Status changed to RTBC
9 months ago 7:47am 15 February 2024
While creation of the new page I faced the next error:
Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in page_manager_page_get_named_arguments() (line 501 in /ctools/page_manager/plugins/tasks/page.inc).
The reason is that on the very first step of page creation $page->path is not set yet. This causes the warning as PHP8.1 doesn't likes null as an argument of explode().
1. Go to admin/structure/page
2. Click 'Add custom page'
3. Observe a warning message.
I suggest not to execute page_manager_page_get_named_arguments() if path is not set.