0x14000 and phone keep restarting

Hello, I have iphone 14 pro. Panic log gives 0x14000 and with ios 18 I used the diagnostic mode and it says barometer sensor not working, basically charging flex. I replaced the charging flex with after market product, however I still have the same issue. Every 3 minute restart and diagnostic mode says barometer error. Does anyone have suggestion for it?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0