Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

PHP 7.4 Compatibility issue Indirect access to variables

$
0
0

Replies: 1

Fix proposed. Please check if the curly braces are placed correctly, not including the [$id] part. https://gist.github.com/mircobabini/868d013722cf28ac716ab87af909bcc0/revisions

FILE: public_html/wp-content/plugins/admin-menu-editor/includes/bbpress-role-override.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 28 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
 29 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
 50 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Viewing all articles
Browse latest Browse all 59525

Trending Articles