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.
There are some issues with the Views Content submodule in CTools when running PHP 5.4 or newer:
- Strict warning: Declaration of views_content_plugin_display_panel_pane::options_submit() should be compatible with views_plugin_display::options_submit($form, &$form_state) in views_include_handler() (line 98 of sites/all/modules/contrib/views/includes/handlers.inc).
(there might be more)
Comment | File | Size | Author |
---|---|---|---|
#1 | ctools-n2512850-1.patch | 843 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis should fix it.
Comment #2
DamienMcKennaComment #3
mw4ll4c3 CreditAttribution: mw4ll4c3 commentedI had needed to do the same for options_form() as per #1224032-5: Fix Strict Warnings
The patch in #5 also includes your change to options_submit()
Comment #4
DamienMcKenna@mw4ll4c3: Please update this patch with your additional change, that other issue is already closed.
Comment #5
mw4ll4c3 CreditAttribution: mw4ll4c3 commentedAttaching here for convenience / visibility
Comment #6
MichelleI tested both fixes in patch #5 and the errors were fixed in both spots.
Comment #7
japerryFixed!
Comment #9
DamienMcKennaJust to say it - woohoo, thanks for adding this to the new release, japerry!
Comment #11
mw4ll4c3 CreditAttribution: mw4ll4c3 commentedIn the latest, this seems to have been only partially applied! Patch #1 is still required to remedy the original error (and Patch #5 will throw an error, because its additional change was made.)
Comment #12
joelpittet