# Dolibarr V19 has been released (Edit : V19.0.4 is availlable)!

**URL:** <https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953>\
**Category:** Announcements & news\
**Tags:** v19\
**Created:** [February 12, 2024, 10:01pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953 "2024-02-12T22:01:07Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [February 12, 2024, 10:01pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/1 "2024-02-12T22:01:07Z")

</div>

The dolibarr association is pleased to announce the release of Version branch **19.0** of **Dolibarr**** ERP & CRM**!

Version **19** is a **major release** with a lot of new features for both users and developers. You can find it on our download mirror on [sourceforge](https://sourceforge.net/projects/dolibarr/files/?source=navbar).

Dolibarr V19 is now compatible with PHP V8. **2**!  
For all the new features, please take a look on the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/19.0.0/ChangeLog)

As always, is better to wait V19.0.1 or V19.0.2 before going in production.

Happy upgrade !

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [February 12, 2024, 10:25pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/2 "2024-02-12T22:25:16Z")

</div>

WOW, so many changes:-) thanks to all developers

---

<div class="post-metadata">

**Author:** ![Plows](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/plows/32/5660_2.png) [@Plows](https://www.dolibarr.org/forum/u/Plows)\
**Post date:** [February 13, 2024, 9:05am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/3 "2024-02-13T09:05:37Z")

</div>

Hi,  
upgraded a few hours ago, whatsapp is not working anymore, its using my dolibarr URL instead of [WhatsApp Web](https://web.whatsapp.com/send?phone=%7Bsocialid%7D)

Does anybody know in which file i could change the url?

br  
Jason.

So i found a small workaround  
I moved all the whatsapp numbers to youtube and changed the youtube url to whatsapp inkl. the logo, i used putty with the following command

**UPDATE llx\_societe SET socialnetworks = REPLACE (socialnetworks, ‘whatsapp’, ‘youtube’);**

New customers need the whatsapp number to be given to the youtube field in the socialnetwork.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [February 13, 2024, 5:15pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/4 "2024-02-13T17:15:02Z")

</div>

@Plows would you care to elaborate a bit more what and how you use Whats App integrated with Dolibarr?

---

<div class="post-metadata">

**Author:** ![Plows](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/plows/32/5660_2.png) [@Plows](https://www.dolibarr.org/forum/u/Plows)\
**Post date:** [February 13, 2024, 6:27pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/5 "2024-02-13T18:27:29Z")

</div>

Yes of course,  
we mainly use WhatsApp for our customers, next to the telefon number we added a whatsapp number with the social.network module, this is very comfortable and is used more than phoning the customer, after i updated from 18.0.4 to 19.0.0 the whatsapp url was broken and linking to my dolibar url with my own phone number, when i use the same whatsapp url in youtube (social.network link) its working.

I hope you could follow me, if not don´t hesitate to contact me, i will add a Snipping Picture

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

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

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/7/7473c7e2f42b4d01c5f59882377be60bca6135f1.png)

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

---

<div class="post-metadata">

**Author:** ![Plows](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/plows/32/5660_2.png) [@Plows](https://www.dolibarr.org/forum/u/Plows)\
**Post date:** [February 18, 2024, 1:17pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/6 "2024-02-18T13:17:05Z")

</div>

Solved,  
found it luckily, my own whatsapp url was missing 🙂

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

---

<div class="post-metadata">

**Author:** ![rommelngo](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rommelngo](https://www.dolibarr.org/forum/u/rommelngo)\
**Post date:** [February 22, 2024, 9:15am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/7 "2024-02-22T09:15:16Z")

</div>

> [@Plows](#):
>
> bers to youtube and changed the youtube url to whatsapp inkl. the logo, i used putty with the following command
> 
> **UPDATE llx\_societe SET socialnetwo**

My calculated extra fields aren’t working anymore, they have this error  
Bad string syntax to evaluate (found call of a function or method without using direct name

anyone has any ideas?

I have another sandbox which is still in v18 and my calculated fields are working.  
this is my exact formula  
((($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0)) ? $reloadedobj-\>array\_options[‘options\_pcsperbag’] : ‘0’)

---

<div class="post-metadata">

**Author:** ![mphirke](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/dec6dc/32.png) [@mphirke](https://www.dolibarr.org/forum/u/mphirke)\
**Post date:** [February 26, 2024, 8:17am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/8 "2024-02-26T08:17:50Z")

</div>

Receiving Error for extrafield that was working before for auto generation of Serial Number from Work/Sales Order Number:

Bad string syntax to evaluate (found chars that are not chars for simplestring):

$objectoffield-\>array\_options[“options\_serialnumbermanual”] == “” ? ($object-\>fetchObjectLinked() ? sprintf("%04d%01d%04d to %04d%01d%04d ",reset($object-\>linkedObjects[‘commande’])-\>ref,$objectoffield-\>rang, 1, reset($object-\>linkedObjects[‘commande’])-\>ref,$objectoffield-\>rang, $objectoffield-\>qty) : “No WO Found”) : $objectoffield-\>array\_options[“options\_serialnumbermanual”];

My Dolibarr automatically upgraded to 19.0 from Softaculous can someone help me downgrade to 18.0.4

---

<div class="post-metadata">

**Author:** ![rommelngo](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rommelngo](https://www.dolibarr.org/forum/u/rommelngo)\
**Post date:** [February 26, 2024, 8:51am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/9 "2024-02-26T08:51:32Z")

</div>

I have the same issue

> [@Cumputed field returns error](https://www.dolibarr.org/forum/t/cumputed-field-returns-error/24999):
>
> suddenly my computed extra fields are giving me error as below: Bad string syntax to evaluate (found call of a function or method without using direct name): ((($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0)) ? floor($objectoffield-\>qty / $reloadedobj-\>array\_options[‘options\_pcsperbag’]) : ‘0’) They used to work but not sure why suddenly they are giving me this error message.

> [@Calculated Custom Field Not working in V19](https://www.dolibarr.org/forum/t/calculated-custom-field-not-working-in-v19/25001):
>
> I just notice that my instance is now in v19 (which by the way I couldn’t find the setting that made it to automatically upgrade to the latest version, I would like to turn that off so that next time I can pick the time I wish to upgrade and perhaps do a backup first before doing so so that I can easily revert back) Suddenly all my calculated fields are having some problems Bad string syntax to evaluate (found call of a function or method without using direct name): ((($reloadedobj =…

---

<div class="post-metadata">

**Author:** ![Plows](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/plows/32/5660_2.png) [@Plows](https://www.dolibarr.org/forum/u/Plows)\
**Post date:** [February 26, 2024, 11:09am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/10 "2024-02-26T11:09:32Z")

</div>

> [@Calculated Custom Field Not working in V19](https://www.dolibarr.org/forum/t/calculated-custom-field-not-working-in-v19/25001/1):
>
> Bad string syntax to evaluate (found call of a function or method without using direct name):

Hi,  
you would need a backup from 18.0.4, did you contact Softaculous to bring you back to 18.0.4?

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [March 1, 2024, 1:14pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/11 "2024-03-01T13:14:56Z")

</div>

> [@mphirke](#):
>
> $objectoffield-\>array\_options[“options\_serialnumbermanual”] == “” ? ($object-\>fetchObjectLinked() ? sprintf("%04d%01d%04d to %04d%01d%04d ",reset($object-\>linkedObjects[‘commande’])-\>ref,$objectoffield-\>rang, 1, reset($object-\>linkedObjects[‘commande’])-\>ref,$objectoffield-\>rang, $objectoffield-\>qty) : “No WO Found”) : $objectoffield-\>array\_options[“options\_serialnumbermanual”];

The v19 is more restrictive on what you are allowed to do in extrafields. Can you confirm this formula is the one used inside the “Computed field” ?  
You mix simple and double quotes into the formula. Can you try to replace to use only double quotes ?  
Replace also the `$objectoffield->array_options[“options_serialnumbermanual”] == “”` with  
`empty($objectoffield->array_options[“options_serialnumbermanual”])`  
Remove also the ; at end

---

<div class="post-metadata">

**Author:** ![rommelngo](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rommelngo](https://www.dolibarr.org/forum/u/rommelngo)\
**Post date:** [March 2, 2024, 8:22pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/12 "2024-03-02T20:22:33Z")

</div>

Hi Eldy,

i have this issue with formula after upgrading to v19, can you help me what seems to be the issue?

((($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0)) ? $reloadedobj-\>array\_options[‘options\_pcsperbag’] : ‘0’)

I am getting this error message:  
PcsPerBag

Bad string syntax to evaluate (found call of a function or method without using direct name): ((($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0)) ? $reloadedobj-\>array\_options[‘options\_pcsperbag’] : ‘0’)

This formula is working in v18.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [March 3, 2024, 7:03pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/13 "2024-03-03T19:03:01Z")

</div>

> [@rommelngo](#):
>
> ((($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0)) ? $reloadedobj-\>array\_options[‘options\_pcsperbag’] : ‘0’)

You can try :

- remove global parenthesis
- OR use the functions.lib.php file version available after this patch: [FIX Better test on validity of compute field syntax with parenthesis · Dolibarr/dolibarr@21feee3 · GitHub](https://github.com/Dolibarr/dolibarr/commit/21feee3bc8b2ebe8a87b8fa56f023faa5835ba44)

---

<div class="post-metadata">

**Author:** ![rommelngo](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rommelngo](https://www.dolibarr.org/forum/u/rommelngo)\
**Post date:** [March 3, 2024, 10:30pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/14 "2024-03-03T22:30:48Z")

</div>

Hi Eldy,

Thanks, i think the double quote worked and also yes i removed the global parentheses.

($reloadedobj = new Product($db)) && ($reloadedobj-\>fetchNoCompute($objectoffield-\>fk\_product) \> 0) ? $reloadedobj-\>array\_options[“options\_pcsperbag”] : 0

Thank you!

---

<div class="post-metadata">

**Author:** ![mphirke](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/dec6dc/32.png) [@mphirke](https://www.dolibarr.org/forum/u/mphirke)\
**Post date:** [March 4, 2024, 9:15am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/15 "2024-03-04T09:15:54Z")

</div>

Thanks, I managed to get it to work after I posted but I used a different way. I calculated values as integer and then added them in String by using “$var1 to $var2” instead of using sprintf (because the error used to go away when I replaced sprintf). This is what I ended up with which worked out quite well.

```auto
($var1 = $objectoffield->array_options["options_srnostart"]) > 0 && ($var2 = $objectoffield->array_options["options_srnoend"]) ? $objectoffield->empty($objectoffield->array_options["options_serialnumbermanual"]) ? "$var1 to $var2" : $objectoffield->array_options["options_serialnumbermanual"] : $objectoffield->array_options["options_serialnumbermanual"]

```

For next time’s formulas, I’ll keep your points in mind (using double quotes only and empty() instead of checking for empty string. Also removed semicolon.

---

<div class="post-metadata">

**Author:** ![claudiucotan](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/claudiucotan/32/7031_2.png) [@claudiucotan](https://www.dolibarr.org/forum/u/claudiucotan)\
**Post date:** [March 5, 2024, 2:24pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/16 "2024-03-05T14:24:26Z")

</div>

Hello,  
Is there any way to know when the version 19.0.1 will be out please?  
Currently i am following commits on branch 19.0 on Github, but not sure what will push you to make the release?

---

<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:** [March 17, 2024, 9:31am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/17 "2024-03-17T09:31:58Z")

</div>

Hello all,

The Dolibarr version 19.0.1 is now available !

You can [download it from SourceForge](https://sourceforge.net/projects/dolibarr/files/Dolibarr%20ERP-CRM/19.0.1/).

The complete list of change is available on the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/19.0.1/ChangeLog).

How to upgrade : [Here](https://wiki.dolibarr.org/index.php?title=Installation_-_Upgrade#Upgrade_Dolibarr)

Have a good day & upgrade !

---

<div class="post-metadata">

**Author:** ![febriansasi](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/febriansasi/32/6231_2.png) [@febriansasi](https://www.dolibarr.org/forum/u/febriansasi)\
**Post date:** [April 13, 2024, 8:08am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/18 "2024-04-13T08:08:18Z")

</div>

I am upgrade from 18.0.3 to 19.0.1.  
Delete install.lock to upgrade.  
After upgrade create install.lock but dolibarr did not detect it.  
So it become vulnerable.

---

<div class="post-metadata">

**Author:** ![priojk](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/priojk/32/6121_2.png) [@priojk](https://www.dolibarr.org/forum/u/priojk)\
**Post date:** [April 13, 2024, 8:47pm UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/19 "2024-04-13T20:47:33Z")

</div>

Hi,

it is most likely that you placed the new install.lock file in a wrong directory or that you mistyped its name. I would recommend to double check this.

---

<div class="post-metadata">

**Author:** ![febriansasi](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/febriansasi/32/6231_2.png) [@febriansasi](https://www.dolibarr.org/forum/u/febriansasi)\
**Post date:** [April 14, 2024, 9:23am UTC](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953/20 "2024-04-14T09:23:21Z")

</div>

Hi, sorry for the posts.  
I found that the problem is with my installation, I use docker version of dolibarr with mergerfs.  
After I put document folder on other file system it is okay.  
Thanks for the reply

[Next page](https://www.dolibarr.org/forum/t/dolibarr-v19-has-been-released-edit-v19-0-4-is-availlable/24953.md?page=2)
