Since I’m using the custom-1 owm-weather template, I tried switching back to the default layout and it worked.
For testing purposes, if I copy the content of the content-owmweather.php to the content-owmweather-custom1.php my site will show the error from above.