Updating from PHP5 to PHP7

Hey all.

I’m not a programmer, but I’m using an old wordpress theme and getting this error when trying to update to PHP7 from 5.

13 | 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. 14 | 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.

These are lines 13 and 14 in question:

 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } 

Can you tell me how to code these to work with PHP7.3? If fixing these two lines, will my WordPress theme then work properly?

Thanks a ton.

submitted by /u/fenderprince
[link] [comments]