GPS: STM32L010K4 Hardfault_Handler at STM32L0xx_it.c:0x800067a

Dear fellow human being,

I am working on a project wich uses the STM32L010K4 microcontroller. We implemented the chip
on a PCB and we can write pins high and low and we’re able to use SPI.
This project revolves around a GPS application. We’re trying to use the UART protocol with the stm32CubeMx IDE.
We’re also trying to make some large/complex computations, I read online that this could potentially lead to stack overflow.
I also read the datasheet and the uart is and spi are part of two different alternate functions.
This is the message we get when trying to implement uart.

With kind regards,