PHP 7.4 Compatibility issue Indirect access to variables
-
Fix proposed. Please check if the curly braces are placed correctly, not including the
[$id]
part. https://gist.github.com/mircobabini/868d013722cf28ac716ab87af909bcc0/revisionsFILE: 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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 7.4 Compatibility issue Indirect access to variables’ is closed to new replies.