Parse error: syntax error, unexpected ‘$q74ed’ (T_VARIABLE)

You have been hacked.

This is probably on more than one file too, so just deleting that line from this file isn’t going to solve the problem.

Best thing you can do is restore from a back up, then change all your passwords. if you don’t have a back up or your backup is also infected. You want to do a clean install of the wordpress core and theme. Then sort through your uploads and child theme.