Dear Milan, this is not an Astroid or template bug.
I have now tested this extensively and set up a new Joomla 4.3.3 and Joomla 5.0.3 installation. Both are running PHP 8.3.3 and Maria DB. Then I first installed Astroid 3.0.11 and the Classic Template 1.3.17. Everything is wonderful.
The update to Astroid 3.0.12 was then displayed and installed.
Result: no errors and everything works.
Therefore I assume that an extension or plugin in your Joomla version is the cause.
Which PHP version and DB are you using?
Unfortunately, we cannot afford to investigate your individual problem now within our support framework.
That goes in the direction of individual support.
Where exactly after which action does this error appear in the backend?
You have to describe this to us in more detail because this doesn't happen with us!