# Embedded blocks following upgrade to v9.5.1

**URL:** <https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941>\
**Category:** Developing with Concrete\
**Created:** [May 29, 2026, 11:00am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941 "2026-05-29T11:00:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [May 29, 2026, 11:00am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/1 "2026-05-29T11:00:25Z")

</div>

I had a hard-coded autonav for breadcrumbs and page\_list for sub navigation in my v8 theme templates. These were both using custom templates in the application/blocks override directories and had been working as expected following the upgrade to v9.

Following the upgrade from 9.4.8 to 9.5.1 the blocks are no longer displayed on the page. Checking the logs it seems the custom templates are no longer recognised from the application/blocks directory but rather looking in the updates/concrete-cms-9.5.1-remote-updater directory instead.

I have temporarily fixed this by copying the relevant templates into the updates folder but this will obviously break again following any future updates. Is this a bug in the 9.5.1 update or is this a deprecated feature with an alternative implementation for v9?

I checked the v9 documentation but cannot find anything related to embedding blocks manually with a custom template defined in the render statement.

Any suggestions would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [May 29, 2026, 11:02am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/2 "2026-05-29T11:02:39Z")

</div>

The embed code would probably be helpful too…

```auto
$bt = BlockType::getByHandle('autonav');
$bt->controller->orderBy = 'display_asc';
$bt->controller->displayPages = 'second_level';
$bt->controller->displaySubPages = 'relevant_breadcrumb';
$bt->controller->displaySubPageLevels = 'custom';
$bt->controller->displaySubPageLevelsNum = '2';
$bt->render('templates/section'); 

```

---

<div class="post-metadata">

**Author:** ![ConcreteOwl](https://forums.concretecms.org/user_avatar/forums.concretecms.org/concreteowl/32/6304_2.png) [@ConcreteOwl](https://forums.concretecms.org/u/ConcreteOwl)\
**Post date:** [May 29, 2026, 11:34am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/3 "2026-05-29T11:34:52Z")

</div>

Try clearing your cache and your browser cache.

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [May 29, 2026, 11:41am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/4 "2026-05-29T11:41:27Z")

</div>

Hard coded navigation is generally not good for performance because the blocks don’t cache (unless you write further code).

You could take this as an opportunity to replace them with real blocks and loose the overhead of maintaining the code.

---

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [May 29, 2026, 12:05pm UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/5 "2026-05-29T12:05:19Z")

</div>

Thank you ConcreteOwl - I did try clearing the site cache and using a different browser incognito window to bypass local browser cache but this did not fix this issue. Thanks for the suggestion.

---

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [May 29, 2026, 12:09pm UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/6 "2026-05-29T12:09:22Z")

</div>

Thank you JohntheFish. I had these set up on a few older themes but it looks like I would be better following your advice and getting these updated in the long run. I suspect new global areas for these template types will be the solution. Thanks for your input, much appreciated.

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [May 29, 2026, 12:32pm UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/7 "2026-05-29T12:32:56Z")

</div>

Thinking further on your original post, the custom page template recognition may be another manifestation of a bug introduced in v9.5.0. There has been similar issues with custom and packaged block template and element resolution, where the core was not looking in the right places and fell back on default templates.

> **[Issues · concretecms/concretecms](https://github.com/concretecms/concretecms/issues?q=sort%3Aupdated-desc%20template)**
>
> Official repository for Concrete CMS development. Contribute to concretecms/concretecms development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Vuish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/vuish/32/4972_2.png) [@Vuish](https://forums.concretecms.org/u/Vuish)\
**Post date:** [June 2, 2026, 8:45am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/8 "2026-06-02T08:45:30Z")

</div>

I can confirm this issue. We use the following code in our template and it displays nothing after updating from 9.4.8 to 9.5.1.

```auto
						$navColPage = Page::getByID('173');
						$targetMs = MultilingualSection::getByLocale($locale);
						$relatedPage = Page::getByID($targetMs->getTranslatedPageID($navColPage));
						$nav_1 = BlockType::getByHandle('autonav');
						$nav_1->controller->orderBy = 'display_asc';
						$nav_1->controller->displayPages = 'custom';
						$nav_1->controller->displayPagesCID = $relatedPage->cID;
						$nav_1->controller->displaySubPages = 'all';
						$nav_1->controller->displaySubPageLevels = 'enough';
						$nav_1->controller->displaySubPageLevelsNum = 0;
						$nav_1->controller->displayUnavailablePages = 0;
						$nav_1->controller->navArray = array();
						$nav_1->render('templates/menu_fullwidth_cols');

```

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [June 2, 2026, 9:10am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/9 "2026-06-02T09:10:48Z")

</div>

Please open an issue on GitHub. [Issues · concretecms/concretecms · GitHub](https://github.com/concretecms/concretecms/issues)

---

<div class="post-metadata">

**Author:** ![Vuish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/vuish/32/4972_2.png) [@Vuish](https://forums.concretecms.org/u/Vuish)\
**Post date:** [June 2, 2026, 9:21am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/10 "2026-06-02T09:21:04Z")

</div>

I just wanted to share a temporary workaround that worked for me.

I replaced my render function:

```php
$nav_1->render('templates/menu_fullwidth_cols');

```

with including the absolute path after pointing to the controller:

```php
$controller = $nav_1->controller;
include(DIR_APPLICATION . '/blocks/autonav/templates/menu_fullwidth_cols/view.php');

```

This is obviously not a proper fix, since it bypasses the normal rendering process, but it may help as a temporary solution until a real fix is available.

---

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [June 2, 2026, 9:35am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/11 "2026-06-02T09:35:41Z")

</div>

Thanks for the reminder JohntheFish - I have just opened an issue for this.

---

<div class="post-metadata">

**Author:** ![phowie74](https://forums.concretecms.org/user_avatar/forums.concretecms.org/phowie74/32/5178_2.png) [@phowie74](https://forums.concretecms.org/u/phowie74)\
**Post date:** [June 2, 2026, 9:38am UTC](https://forums.concretecms.org/t/embedded-blocks-following-upgrade-to-v9-5-1/9941/12 "2026-06-02T09:38:20Z")

</div>

Thank you for the suggestion Vuish - certainly a more robust solution than copying custom template files into the updates directory!

Following JohntheFish’s advice regarding caching and performance, I have now replaced the embedded block with a global area and added the block with custom templates there instead.
