# Shortcode error

**URL:** <https://discourse.gohugo.io/t/shortcode-error/40307>\
**Category:** support\
**Created:** [August 31, 2022, 9:17pm UTC](https://discourse.gohugo.io/t/shortcode-error/40307 "2022-08-31T21:17:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [August 31, 2022, 9:17pm UTC](https://discourse.gohugo.io/t/shortcode-error/40307/1 "2022-08-31T21:17:33Z")

</div>

@dimsa

The code you posted…

```auto
{{< blocks/products/pf/main-wrap-class isAutogenPage="true">}}

```

… does _not_ throw an error

---

<div class="post-metadata">

**Author:** ![dimsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dimsa/32/17660_2.png) [@dimsa](https://discourse.gohugo.io/u/dimsa)\
**Post date:** [September 1, 2022, 3:18am UTC](https://discourse.gohugo.io/t/shortcode-error/40307/2 "2022-09-01T03:18:27Z")

</div>

@jmooring  
when this row is removed

`{{< blocks/products/pf/main-wrap-class isAutogenPage="true">}}`

Then I have error on the following row:  
`{{< blocks/products/pf/main-container pfName=" Aspose.PSD" subTitlepfName=" لجافا" >}}`

After the removing of the row above I get error on this:

```auto
    {{< blocks/products/pf/agp/about-file-section >}}
   ...
    {{< /blocks/products/pf/agp/about-file-section >}}

```

We use multi-lingual configuration. If I remove this locale, I’ll get the same errors in the next (in alphabetic order) locale.

version 102.2 didn’t help too.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [September 1, 2022, 3:24am UTC](https://discourse.gohugo.io/t/shortcode-error/40307/3 "2022-09-01T03:24:29Z")

</div>

Please share a link to the public repository for your project.

See [https://discourse.gohugo.io/t/requesting-help/9132](https://discourse.gohugo.io/t/requesting-help/9132).

> Let us see your code
> 
> Include a **link to the source code repository** of your project, because we really need the _context_ of seeing your templates and partials to be able to help you. It is trivial to do a quick `git clone` on your repo, then run `hugo server` in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
> 
> If you can’t share your repository for whatever reason, consider creating a dummy repo that you _can_ share, which reproduces the problem you’re experiencing.

---

<div class="post-metadata">

**Author:** ![dimsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dimsa/32/17660_2.png) [@dimsa](https://discourse.gohugo.io/u/dimsa)\
**Post date:** [September 1, 2022, 3:42am UTC](https://discourse.gohugo.io/t/shortcode-error/40307/4 "2022-09-01T03:42:39Z")

</div>

Unfortunately, I can’t send the code with the theme, because this repository is private.

But, I can send our public repo that uses this theme.

Here is the page about which I wrote before: [Aspose.PSD-Products/\_index.md at main · aspose-psd/Aspose.PSD-Products · GitHub](https://github.com/aspose-psd/Aspose.PSD-Products/blob/main/psd/ar/java/watermark/psd/_index.md)

It’s possible, that the issue is only in PSD repository, because one another product update compiles fine. But this issue appeared with 102.1 (Maybe a little earlier).

Product that was compiled fine 16h ago: [GitHub - aspose-svg/Aspose.SVG-Products](http://github.com/aspose-svg/Aspose.SVG-Products)

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [September 1, 2022, 3:58am UTC](https://discourse.gohugo.io/t/shortcode-error/40307/5 "2022-09-01T03:58:40Z")

</div>

In order to fix the problem we need to be able to reproduce the problem.

---

<div class="post-metadata">

**Author:** ![dimsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dimsa/32/17660_2.png) [@dimsa](https://discourse.gohugo.io/u/dimsa)\
**Post date:** [September 2, 2022, 9:31am UTC](https://discourse.gohugo.io/t/shortcode-error/40307/6 "2022-09-02T09:31:11Z")

</div>

My issue is fixed with [Release v0.102.3 · gohugoio/hugo · GitHub](https://github.com/gohugoio/hugo/releases/tag/v0.102.3).

It looks like Hugo shows the place of error incorrectly.

Thanks.
