Fatal error: Declaration of RulesRuleUI::form ... must be compatible with RulesActionContainerUi::form [Solved]

Created on 21 March 2018, over 6 years ago
Updated 4 November 2021, over 2 years ago

When PHP version 7.2 is enabled, Rules generates a Fatal Error when the UI is enabled:

( ! ) Fatal error: Declaration of RulesRuleUI::form(&$form, &$form_state, $options = Array) must be compatible with RulesActionContainerUI::form(&$form, &$form_state, $options = Array, $iterator = NULL) in /sites/all/modules/contrib/rules/ui/ui.plugins.inc on line 0

Seems like wrong implementation of OOP, more specifically the Liskov substitution principle

πŸ“Œ Task
Status

Closed: cannot reproduce

Version

2.0

Component

Rules Core

Created by

πŸ‡§πŸ‡ͺBelgium ReBa

Live updates comments and jobs are added and updated live.
  • PHP 7.2

    The issue particularly affects sites running on PHP version 7.2.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024