# Error 500 on segment view after 2.16 update

**URL:** <https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852>\
**Category:** Product Support\
**Created:** [February 17, 2020, 2:56pm UTC](https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852 "2020-02-17T14:56:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pboisdenghien](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pboisdenghien/32/1712_2.png) [@pboisdenghien](https://forum.mautic.org/u/pboisdenghien)\
**Post date:** [February 17, 2020, 2:56pm UTC](https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852/1 "2020-02-17T14:56:46Z")

</div>

My Mautic version is:2.16  
PHP is 5.6.30

Can not open segment if number of contacts \> 700-800

error display on chrome dev console:

libraries.js?v8b45695f:673 GET [https://businessatwork.bitnamiapp.com/s/segments/view/149?\_=1581951175097&mauticUserLastActive=1&mauticLastNotificationId=](https://businessatwork.bitnamiapp.com/s/segments/view/149?_=1581951175097&mauticUserLastActive=1&mauticLastNotificationId=) 500 (Internal Server Error)

Error on mautic log console

- [  
Log](https://businessatwork.bitnamiapp.com/s/sysinfo#log)

## Current Error Log

[2020-02-17 16:39:12] mautic.ERROR: PHP Error - Argument 1 passed to Mautic\LeadBundle\Segment\Stat\ChartQuery\SegmentContactsLineChartQuery::getTotalStats() must be an instance of Mautic\LeadBundle\Segment\Stat\ChartQuery\int, string given, called in /opt/bitnami/apps/mautic/htdocs/app/bundles/LeadBundle/Segment/Stat/SegmentChartQueryFactory.php on line 30 and defined - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/LeadBundle/Segment/Stat/ChartQuery/SegmentContactsLineChartQuery.php - at line 90

Any idea ?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 19, 2020, 10:55am UTC](https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852/3 "2020-02-19T10:55:41Z")

</div>

Hi @pboisdenghien, welcome back to the Mautic Community Forums!

I notice that you’re using Bitnami, have you posted in their forums? They have specialist tools to help with debugging problems on with Bitnami, so it might be worth your while posting there ([community.bitnami.com/c/mautic](https://community.bitnami.com/c/mautic))

---

<div class="post-metadata">

**Author:** ![pboisdenghien](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pboisdenghien/32/1712_2.png) [@pboisdenghien](https://forum.mautic.org/u/pboisdenghien)\
**Post date:** [February 26, 2020, 8:43am UTC](https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852/4 "2020-02-26T08:43:04Z")

</div>

Solved by installing a fresh Bitnami image

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 26, 2020, 8:56am UTC](https://forum.mautic.org/t/error-500-on-segment-view-after-2-16-update/12852/5 "2020-02-26T08:56:21Z")

</div>

Ah great to hear you got it sorted, thanks for reporting back with the solution!
