Laptop glitches when shutting down or rebooting

Hello, after upgrading my system, like doing everything on the welcome tab and running sudo pacman -Syu I often reboot my laptop, but most of the time it just freezes. Like I am just stuck and I have to shut down my laptop with the startup button, which I normally shouldn’t. It is when I reboot/shutdown my laptop from the terminal by running sudo reboot or shutdown now. Also, I don’t think that it is connected to the same issue but I have some problems with switching from 2 screens(monitor and laptop scren) back to my laptop screen, like often the desktop goes completely black and I see only the taskbar, but this isn’t urgent. I use KDE Plasma K11

To borrow from @dalto’s advice in another thread, you might run this command to review error logs, and share the output here if you wish:

journalctl -b -1 -p err

I think it a good idea to raise this issue in a separate thread, or risk confusion in support here.

Sorry, but to clarify. You are saying that the freeze happens when you shutdown from the terminal?

Yes, when I shutdown or reboot from the terminal after updating my system.

Yes, but I think that it is more likely a KDE problem, so I will first ask my question on one of their forums.

And this is the output of the command you sent me:

juin 11 00:08:10 Bongstong kernel: 
juin 11 02:59:04 Bongstong bluetoothd[3282]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
juin 11 02:59:18 Bongstong dbus-broker-launch[765]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
juin 11 02:59:19 Bongstong dbus-broker-launch[765]: Activation request for 'org.freedesktop.nm_dispatcher' failed.