WPIntell

Source evidence

Fatal error in PHP 7.1

SV Gravity Forms Enhancer · support · 2018-10-23T12:40:00+00:00

neutralsentiment
highseverity
0.52relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Chris Van Patten resolved
In PHP 7.1, sv-gravity-forms-enhancer triggers a fatal error: Fatal error: Cannot use lexical variable $widget_class as a parameter name in path/to/plugins/sv-gravity-forms-enhancer/lib/core/widgets/widgets.php on line 128 Looks like this: add_action('widgets_init', function ($widget_class) use ($widget_class) { register_widget(get_class($widget_class)); }); This should be written as add_action('widgets_init', function () use ($widget_class) { register_widget(get_class($widget_class)); });

Comments

1 shown
Chris Van Patten 2018-10-23T12:48:00+00:00

Looks like this: add_action('widgets_init', function ($widget_class) use ($widget_class) { register_widget(get_class($widget_class)); }); This should be written as add_action('widgets_init', function () use ($widget_class) { register_widget(get_class($widget_class)); });