Hi,
upgraded a few hours ago, whatsapp is not working anymore, its using my dolibarr URL instead of WhatsApp Web
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.
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
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â)
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
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â)
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.
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.
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?
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.
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.
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