# Unable to upgrade: receipts and Payments view issue

**URL:** <https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759>\
**Category:** Uncategorized\
**Created:** [May 4, 2021, 3:32pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759 "2021-05-04T15:32:45Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 3:32pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/1 "2021-05-04T15:32:45Z")

</div>

I test new versions on a separate machine to be safe before applying. Been watching the recent updates re: split of receipts and payments.

In my test ‘instance’ of manager, I get the following error whenever I try to open ‘View’ for a receipt or payment. This occurs whether opening an existing receipt or payment or upon creating a new one. I am therefore unable to update my production machine to current version.

Internal Error  
Manager 21.4.75  
DotLiquid.Exceptions.SyntaxException: if tag was never closed  
at DotLiquid.Block.AssertMissingDelimitation()  
at DotLiquid.Block.Parse(List`1 tokens) at DotLiquid.Tags.If.Initialize(String tagName, String markup, List`1 tokens)  
at DotLiquid.Block.Parse(List`1 tokens) at DotLiquid.Document.Initialize(String tagName, String markup, List`1 tokens)  
at DotLiquid.Template.ParseInternal(String source)  
at DotLiquid.Template.Parse(String source)  
at ManagerServer.HttpHandlers.Businesses.Business.View`1.InnerGet2() in C:\projects\manager\ManagerServer\HttpHandlers\Businesses\Business\View.cs:line 354  
at ManagerServer.HttpHandlers.Businesses.Business.BusinessTemplate.InnerGet() in C:\projects\manager\ManagerServer\HttpHandlers\Businesses\Business\BusinessTemplate.cs:line 480  
at ManagerServer.HttpHandlers.Template.Get() in C:\projects\manager\ManagerServer\HttpHandlers\Template.cs:line 483  
at ManagerServer.HttpHandlers.HttpHandler.ProcessRequest() in C:\projects\manager\ManagerServer\HttpHandlers\HttpHandler.cs:line 100  
at ManagerServer.Startup.\<\>c.\<b\_\_1\_1\>d.MoveNext() in C:\projects\manager\ManagerServer\Startup.cs:line 108  
— End of stack trace from previous location —  
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g\_\_Awaited|6\_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 3:49pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/2 "2021-05-04T15:49:28Z")

</div>

Microsoft Windows version? 32- or 64-bit?  
Is Microsoft Webview Runtime installed?  
Manager version number? Sorry, see that this is 21.4.75

It might be a problem with the install - have you tried re-installing?

or a data problem in the business file - if you create a new test business, do you get the same error?  
If not, this could point to a problem with your business file

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 4:03pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/3 "2021-05-04T16:03:33Z")

</div>

64bit both machines.  
Yes - on both machines. I am not that far behind:  
Working version on my Production Machine: 21.3.82  
Error Version on on Test Machine: 21.4.75

Can’t follow why it would be a business file problem. Since (i) back-up daily and (ii) works perfectly in 21.3.82.

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 4:07pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/4 "2021-05-04T16:07:14Z")

</div>

I have 21.4.75 installed on Windows 64-bit and I do not get the problem so I don’t think the problem arises from the Manager code.  
So that leaves your installation of Manager may not have executed correctly or your data is causing the problem.

I am trying to eliminate one or both of these causes or at least narrow the problem down to one of them

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 4, 2021, 4:12pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/5 "2021-05-04T16:12:21Z")

</div>

On the basis of @lubos’s earlier statements that internal errors always reveal bugs, I am placing this topic into the bugs category.

Based on my limited understanding of the diagnostic information, however, it looks like an issue with the Liquid code for the theme displaying the transactions. Do you have a custom theme for receipts and payments? If so, is it set as the default? If it is, try changing to _Plain_ before viewing and see if that makes a difference.

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 4:41pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/6 "2021-05-04T16:41:55Z")

</div>

> [@Tut](#):
>
> understanding of the diagnostic information, however, it looks like an issue with the Liquid code for the theme displaying the transactions. Do you have a custom theme for receipts and payments? If so, is it set as the default? If it is, try changing to _Plain_ before viewing and see if that makes a difference.

Yeah - I do, all it does is flip the title for Payments to remittance advice. I had thought about that and tried two things (i) I updated an existing payment and unchecked custom theme (back to plain) - still got the error when trying to view, (ii) I went to form defaults and removed custom theme default (on both the receipts and payment defaults) then tried a new/fresh receipt and new/fresh payment. Still get the error. View still works fine on other transaction types - invoices etc.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 4, 2021, 4:52pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/7 "2021-05-04T16:52:57Z")

</div>

Hmmm. I can’t duplicate this in macOS and @Joe91 can’t duplicate in Windows. Well, it’s been reported.

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 4:54pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/8 "2021-05-04T16:54:26Z")

</div>

Can you show the edit screen for the transaction - black out any private info, if necessary.

There is now an option to use a custom title on both transactions, so a custom theme is no longer necessary to do this

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 5:05pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/9 "2021-05-04T17:05:17Z")

</div>

Yes, I understand that once upgraded I’ll be able to use the custom titles.

FWIW - On my test machine I had another tiny test business file that never had a custom theme. Receipts and Payments open fine in that business, so definitely relates to custom theme and upgrade.

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 5:21pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/10 "2021-05-04T17:21:16Z")

</div>

But you said that when you removed the custom theme, it still gave an error, No?

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 4, 2021, 5:23pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/11 "2021-05-04T17:23:11Z")

</div>

Also, what if you not only deselect the custom theme from the transaction you are trying to open, but also make the theme itself inactive? (That might be tough if you’ve been using it a lot. But you could experiment with installing that custom theme in a test business and see if just having it—or having it active—generates the error.)

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 5:26pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/12 "2021-05-04T17:26:19Z")

</div>

I’d still like to see the edit screen of the payment transaction, in case there are some spurious characters that are perturbing the execution of the Liquid theme

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 5:33pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/13 "2021-05-04T17:33:40Z")

</div>

“But you said that when you removed the custom theme, it still gave an error, No?”

Correct. Still errors.

---

<div class="post-metadata">

**Author:** ![Joe91](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/joe91/32/35781_2.png) [@Joe91](https://forum.manager.io/u/Joe91)\
**Post date:** [May 4, 2021, 5:36pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/14 "2021-05-04T17:36:59Z")

</div>

What is Correct?

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [May 4, 2021, 9:27pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/15 "2021-05-04T21:27:12Z")

</div>

This looks like an error in your email template. Not custom theme.

Basically your email template for receipt or payment has invalid Liquid markup. This would have nothing to do with upgrading to the latest version.

The latest version (21.4.76) is making this more obvious.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 4, 2021, 9:56pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/16 "2021-05-04T21:56:58Z")

</div>

> [@lubos](#):
>
> The latest version (21.4.76) is making this more obvious.

@lubos, is this something incorporated into the Email Template setup, or just a better error message, or what? Is it something that can be simulated for illustration purposes?

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [May 4, 2021, 10:03pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/17 "2021-05-04T22:03:53Z")

</div>

Better error message. If there is syntax error, then the reason will simply show when clicking `Email` button rather than crashing the whole view screen.

![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/a/1/a1f163e0337de988f7bc40b188b2e0497aaf4423.png)

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [May 4, 2021, 10:21pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/18 "2021-05-04T22:21:14Z")

</div>

Interesting. Couple of observations.

- My email template does have similar logic to my custom theme that changes the wording for receipt vs. payment but as far as I can tell (saved copies seemed ok) it had actually been sending OK in the past. Based on your comment though I did review and found a typo which I corrected and indeed I can now open the ‘view’ form for the receipts and payments - so thank you, I can call it resolved;

- The interesting thing remains (but no longer matters really) is that i got nowhere near the email button for this to occur only the view button. So the email templates apparently impact the view functionality not just email.

Anyway, thank you Lubos, Tut and Joe. Issue was indeed in the email template despite the fact that it manifested itself immediately from the view button in the new version.

Anyway, thank you. Resolved.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:21pm UTC](https://forum.manager.io/t/unable-to-upgrade-receipts-and-payments-view-issue/34759/19 "2026-07-05T20:21:14Z")

</div>

Closed on July 5, 2026, 8:21pm UTC

Uncategorized topics older than 3 years with no recent activity
