When I used this theme as an unauthenticated user, some pages generate "The website encountered an unexpected error" messages. When I check the logs, I get the following PHP error message:
Error: Call to undefined method Drupal\node\Entity\Node::URL() in professional_responsive_theme_preprocess_breadcrumb() (line 198 of /homepages/36/d716196188/htdocs/clickandbuilds/themes/professional_responsive_theme/professional_responsive_theme.theme).

I also get multiple Page not found warnings:
https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_Dp4P...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_Dp4P...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_Dp4P...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by
https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

https://blog.lostrootsfamilyhistory.com/themes/professional_responsive_t..., referred by https://blog.lostrootsfamilyhistory.com/sites/default/files/css/css_qH4w...

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#4 node-url-tostring-professional.patch466 bytesreinaldoc

Comments

artiste1212 created an issue. See original summary.

arborrow’s picture

I noticed https://www.drupal.org/forum/support/upgrading-drupal/2021-02-01/call-to... mentions changing:
$node->url()
to:
$node->toUrl()->toString()
which seemed to work for me.

arborrow’s picture

reinaldoc’s picture

StatusFileSize
new466 bytes

patch attached.

$ cd /path/drupal/themes/professional_zymphonies_theme/
$ patch -p0 < /tmp/node-url-tostring-professional.patch