Problem with esp32_BleSerial compile <SOLVED>

My project compiled fine until one morning I tried to compile the previous version.
None of my versons compile without this error.
ALL the settings were intact, the processor was the same.
Only some automatic updates came to my Arduino IDE 2.3.2 libraries.

Now, when I try to compile my project, I get an error message:

/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp:167:62: error: conversion from 'String' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string'} requested
167 | std::string value = pCharacteristic->getValue();

So I built a minimal program and it still gives th same error:

#include "BleSerial.h"
void setup() {}
void loop() {}

I tested other BLE libraries and did not get this error.
I do not want to change the library, because there is already 1240 lines of code.

Have you upgraded the ESP32 board files recently ?

Which version of them have you got installed ?

which one is that ?

ESP32_BleSerial/src/BleSerial.h

This piece of code is a straight copy from GIT, Avinab Malla, ESP32_BleSerial example bleserial_hello.ino.
ESP32_BleSerial ver 1.0.4 installed
I just cut out all the parts of the program, which were not important.

There's a recent topic, someone else was bombing out BLE wise. Me, too. The Client and Server Examples won't Compile. He dialed back to a "version 2" and still a no go.

I have now deleted all esp32 libraries, which I do not need in this project. The only ones I left are:
ESP32_BleSerial ver 1.0.4
EspSoftwareSerial ver 8.1.0

I also removed all BLE libraries

Next I will remove Arduino IDE 2.3.2 and reinstall it.
Now I'm going to be silent for about a week

What is (not so) funny, is that everything compiled fine until one morning nothing.

Curiouser and curiouser.

PLEASE TEST AND GIVE FEEDBACK !

Removed IDE 2.3.2 and ALL the config files.
Removed */Arduino/libraries/ESP32_BleSerial folder
Installed IDE 2.3.2 and started
Installed ESP32 and ESP8266 boards
Installed ESP_BleSerial 1.04

-> STILL THE SAME ERROR MESSAGE:
std::string value = pCharacteristic->getValue();

My code:

#include <BleSerial.h>
void setup() {}
void loop() {}

SOLVED !
Removed board ESP32 ver 3.02 and installed older 2.017 (tools>board>boards manager). Nothing else and now my sketch compiles !

(Got this from topic 1275882)

image