WP theme is referencing composer's PHP instead of Local's PHP version

There is an older comment here you could try: