# Json5 error with SimpleCart price field

**URL:** <https://forum.modmore.com/t/json5-error-with-simplecart-price-field/2274>\
**Category:** SimpleCart\
**Created:** [August 20, 2021, 9:43am UTC](https://forum.modmore.com/t/json5-error-with-simplecart-price-field/2274 "2021-08-20T09:43:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitsol](https://forum.modmore.com/user_avatar/forum.modmore.com/sitsol/32/407_2.png) [@sitsol](https://forum.modmore.com/u/sitsol)\
**Post date:** [August 20, 2021, 9:43am UTC](https://forum.modmore.com/t/json5-error-with-simplecart-price-field/2274/1 "2021-08-20T09:43:59Z")

</div>

I have a very strange error with SimpleCart. When I enter a price of 1000 or more then the productlist goes empty in the backend. Until 999.99 there’s no problem.

I then have to manually adjust or delete the record in the mysql database to make the list back visible.

In the Modx error log I get the error “…core/model/modx/modprocessor.class.php : 268) Processor failed creating output array due to JSON error 5”

Any idea?

Latest version of SimpleCart (2.8.0) and Modx 2.8.3. PHP-version 7.4.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [August 24, 2021, 4:42pm UTC](https://forum.modmore.com/t/json5-error-with-simplecart-price-field/2274/2 "2021-08-24T16:42:14Z")

</div>

Note to future self, this was also sent to support in ticket 29288 and discussed further there. Also [created an issue to make the json generation more forgiving in MODX3](https://github.com/modxcms/revolution/issues/15796).
