Error after update erpnext to 12.5.0, frappe 12.3.0

Hi everyone.
After updating I get this errr in errors log.

Traceback (most recent call last):
File “/home/vivas-frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py”, line 112, in generate_theme_files_if_not_exist
doc.generate_theme_if_not_exist()
File “/home/vivas-frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py”, line 81, in generate_theme_if_not_exist
theme_path = join_path(bench_path, ‘sites’, self.theme_url[1:])
TypeError: ‘NoneType’ object is not subscriptable

Search through this forum shows nothing to error. Can anyone tell, what it is?

Also, during update I saw this error message:

ERROR: frontmatter 3.0.5 has requirement PyYAML==3.13, but you’ll have pyyaml 5.1 which is incompatible.

Maybe they are binded ?

Sorry for disturbing, the error is dissapeared, when I restored sql backup (after my experiments, I have corrupted it)