WPIntell

Source evidence

Deprecated function “create_function” in PHP 7

WP Posts Carousel · support · 2019-04-12T21:31:00+00:00

complaintsentiment
mediumseverity
0.75relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

4 / 26 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
steckinsights unresolved
Seeing errors when upgrading to PHP 7.2+. Deprecated: Function create_function() is deprecated in /wp-content/plugins/wp-posts-carousel/carousel-widget.class.php on line 382 Looks like you need to adjust the function to be as follows on line 382 of carousel-widget.class.php: function yourmodifier_register_widgets() { register_widget( 'WpPostsCarouselWidget' ); } add_action( 'widgets_init', 'yourmodifier_register_widgets' ); The function you used is anonymous and it really should have a name, as described above, so the plugin can be extended and so it complies with PHP 7+. Let us know if you do that, because we’d love to use your plugin instead of our edited version.

Comments

0 shown

No comments were stored for this source.