Thank you, Fernando and Erel, for your response. The problem is solved. The application's sequence of events caused the error. Once the application starts, some code happens faster and others slower. When the ESP32 reboots, it gives the "Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled." I asked Chat GPT about the error, and it gave different suggestions, but for me, this was the problem." Trying to use a global object (like MQTT, WiFi, etc.) before calling Initialise." Once I changed the sequence of the startup code, the problem disappeared
Thank you again