Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When setting "Krumo backtrace in the message area" as the error reporter, some issues start appearing with ctools modal forms on page manager pages with contexts. Here's how to reproduce the specific issue I'm having:
- Enable devel, page_manager
- Set error reporting to "Krumo backtrace in the message area" on admin/config/development/devel
- Create a page with page_manager and add a context. The User context (logged user) is one I am using to duplicate the issue, but any context should do.
- Click the wheel to edit the context that was just created. Submit the form with no changes. This is where the errors get generated
- Refresh to cause errors to display
It looks like the errors are coming from form.inc as a result of both the #id and #parents properties being undefined. I'll try to get more info and post it (hopefully with a patch!) later on.
Comments
Comment #1
steinmb CreditAttribution: steinmb commentedSounds related to #2134955: PHP Fatal error: Call to a member function get_option() when krumo display errors