# Shipment creation problem - Total line items covered max. 89

**URL:** <https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513>\
**Category:** Using my Dolibarr\
**Tags:** v15\
**Created:** [July 16, 2022, 1:45pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513 "2022-07-16T13:45:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anasmemon](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/a/779978/32.png) [@anasmemon](https://www.dolibarr.org/forum/u/anasmemon)\
**Post date:** [July 16, 2022, 1:45pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/1 "2022-07-16T13:45:36Z")

</div>

Hi.  
I have recently upgraded to 15.0.2 from 14.0  
I was facing an error in previous version and the same is continued after upgrade.  
So, when we are creating shipment (all the stock is available for the desired items), its taking max. 89 line items in single shipment. Beyond that its not considering.  
I have tried creating second shipment in same sales order, but that also is not generating the remaining items.  
So, lets say I have 150 line items, I can not generate full shipment with 150 line items from the stock.  
So at once 89 items are created as partial shipment, when I am trying to create second partial shipment for remaining items, it is causing issues. Sometimes it will give only 2 or 3 items and sometimes only 1.  
Is there any thing can be done here?

---

<div class="post-metadata">

**Author:** ![anasmemon](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/a/779978/32.png) [@anasmemon](https://www.dolibarr.org/forum/u/anasmemon)\
**Post date:** [July 20, 2022, 3:43pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/2 "2022-07-20T15:43:25Z")

</div>

Any helop here?  
@eldy @ksar

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [July 20, 2022, 3:57pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/3 "2022-07-20T15:57:29Z")

</div>

Hello,

This is most probably because of your PHP configuration.  
You need to check PHP.ini and log file

---

<div class="post-metadata">

**Author:** ![anasmemon](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/a/779978/32.png) [@anasmemon](https://www.dolibarr.org/forum/u/anasmemon)\
**Post date:** [July 20, 2022, 4:17pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/4 "2022-07-20T16:17:46Z")

</div>

Hi @ksar ,  
Thanks for the swift response. What exactly could be wrong in php.ini?  
As of now there is no php.ini file available in the domain. There is one available to configure & apply in basic mode or to create in editor mode.

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/5/5623e43b2b8dd2107907ec7009ea7c83e41f51a1.png)

Sorry, I am not an expert, I hope it would be ok to ask help in this level.

Following two errors i can see in log…

PHP Warning: Undefined property: stdClass::$expedition in /home1/desigdxz/public\_html/providenceqatar.com/dolibarr/core/boxes/box\_shipments.php on line 63  
PHP Warning: Attempt to read property “lire” on null in /home1/desigdxz/public\_html/providenceqatar.com/dolibarr/core/boxes/box\_shipments.php on line 63

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [July 20, 2022, 6:42pm UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/5 "2022-07-20T18:42:32Z")

</div>

Hello,

You can try to increase max\_input\_vars and max\_post\_size

---

<div class="post-metadata">

**Author:** ![anasmemon](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/a/779978/32.png) [@anasmemon](https://www.dolibarr.org/forum/u/anasmemon)\
**Post date:** [August 9, 2022, 9:34am UTC](https://www.dolibarr.org/forum/t/shipment-creation-problem-total-line-items-covered-max-89/22513/6 "2022-08-09T09:34:10Z")

</div>

Thanks @ksar  
It worked for me.
