# Block zoomer error, unable to edit pages,

**URL:** <https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559>\
**Category:** Using Concrete / Help\
**Created:** [November 20, 2023, 7:51pm UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559 "2023-11-20T19:51:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristianPW](https://forums.concretecms.org/user_avatar/forums.concretecms.org/christianpw/32/3495_2.png) [@ChristianPW](https://forums.concretecms.org/u/ChristianPW)\
**Post date:** [November 20, 2023, 7:51pm UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/1 "2023-11-20T19:51:22Z")

</div>

Hello,

We are using concrete 5 5.7.5.13 and php 7.1.

I believe the non-standard zoomer block is causing problems. I am not able to delete it. I see the zoom block error when I log into our website or when I try to edit a web page. I can log into C5 and see the right hand menu to check out the sitemap, settings, etc.

I was told that I probably have to rebuild the website from scratch. I assume using concrete 5 again would help preserve our SEO rankings, if we use the same URLs, H tags, meta titles and descriptions, content, etc. We have a few pages that are number one with google and bing. My boss will kill me if we lose our SEO rankings.

Is it possible to upgrade our existing concrete 5 and not have to rebuild the website? Is it possible to delete the zoomer block in our current concrete 5? I really do not want to lose our SEO rankings or spend a 100 hours rebuilding the website.

I appreciate any help that might be out there.

Christian

---

<div class="post-metadata">

**Author:** ![mnakalay](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mnakalay/32/6336_2.png) [@mnakalay](https://forums.concretecms.org/u/mnakalay)\
**Post date:** [November 20, 2023, 11:18pm UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/2 "2023-11-20T23:18:38Z")

</div>

You could probably just fix the zoomer block causing problems and resolve the issue. Could you share the error message?

Or feel free to contact me by private message and I could have a look for you on the website.

---

<div class="post-metadata">

**Author:** ![ChristianPW](https://forums.concretecms.org/user_avatar/forums.concretecms.org/christianpw/32/3495_2.png) [@ChristianPW](https://forums.concretecms.org/u/ChristianPW)\
**Post date:** [November 21, 2023, 12:31am UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/3 "2023-11-21T00:31:41Z")

</div>

![zoom-blocker](https://forums.concretecms.org/uploads/default/original/2X/b/bbf680a29adc341a8915bad994cf62c5f56080d2.png)

Attached is the error message I see after I log in to concrete 5. I am able to get to the right hand menu if I enter a URL for another page. I am not sure how i can fix zoom block. I would love to uninstall it somehow.

I appreciate your help.

---

<div class="post-metadata">

**Author:** ![enlil](https://forums.concretecms.org/user_avatar/forums.concretecms.org/enlil/32/3526_2.png) [@enlil](https://forums.concretecms.org/u/enlil)\
**Post date:** [November 21, 2023, 1:11am UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/4 "2023-11-21T01:11:27Z")

</div>

is the call to registerViewAssets() in the zoomer block controller just missing the ’ outputContent = ‘’ ’ part ??  
registerViewAssets()  
vs.  
registerViewAssets($outputContent = ‘’)

---

<div class="post-metadata">

**Author:** ![ChristianPW](https://forums.concretecms.org/user_avatar/forums.concretecms.org/christianpw/32/3495_2.png) [@ChristianPW](https://forums.concretecms.org/u/ChristianPW)\
**Post date:** [November 21, 2023, 1:53am UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/5 "2023-11-21T01:53:59Z")

</div>

thank you… where would i make this change?

---

<div class="post-metadata">

**Author:** ![enlil](https://forums.concretecms.org/user_avatar/forums.concretecms.org/enlil/32/3526_2.png) [@enlil](https://forums.concretecms.org/u/enlil)\
**Post date:** [November 21, 2023, 1:57am UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/6 "2023-11-21T01:57:30Z")

</div>

The controller file should be located at something like /packages/zoomer/blocks/zoomer/controller.php

Look for where that declaration occurs and see if the output content line is within the parenthesis () in that declaration. If not try adding it and see if you still error…

---

<div class="post-metadata">

**Author:** ![enlil](https://forums.concretecms.org/user_avatar/forums.concretecms.org/enlil/32/3526_2.png) [@enlil](https://forums.concretecms.org/u/enlil)\
**Post date:** [November 21, 2023, 4:16am UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/7 "2023-11-21T04:16:51Z")

</div>

I just tested this. That is most definitely your issue!

This is the line you’re looking for:

```auto
public function registerViewAssets() {
```

and it should be

```auto
public function registerViewAssets($outputContent = '') {
```

---

<div class="post-metadata">

**Author:** ![ChristianPW](https://forums.concretecms.org/user_avatar/forums.concretecms.org/christianpw/32/3495_2.png) [@ChristianPW](https://forums.concretecms.org/u/ChristianPW)\
**Post date:** [November 22, 2023, 3:39pm UTC](https://forums.concretecms.org/t/block-zoomer-error-unable-to-edit-pages/6559/8 "2023-11-22T15:39:14Z")

</div>

Thank you. You solved this problem. I appreciate your help!

Christian
