WPIntell

Source evidence

Fatal Error : wpml_mailto()

WP Mailto Links – Protect Email Addresses · support · 2019-10-19T12:09:00+00:00

mixedsentiment
highseverity
0.82relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Marius resolved
Hi, Since the update to 3.0.0 I’m getting an fatal error on the pages where I’m using wpml_mailto() in my template. Call to undefined function wpml_mailto() I had to rollback to 2.20 to make it work again. Thanks for the plugin ! Best, Marius Hey @turkal – Thank you a lot for your request. Can you tell me with which parameter you currently call the function? I will then make some tests and update you after with further steps. Thank you already a lot! Hi @ironikus , I’m calling the function with parameters from another plugin (Pods): $the_travail = pods('travail', get_the_ID()); echo wpml_mailto($the_travail->display("email"), "Contacter l'auteur"); Which, basically, is equivalent to: echo wpml_mailto("email@email.com", "Contacter l'auteur"); Best, This reply was modified 6 years, 7 months ago by Marius . This reply was modified 6 years, 7 months ago by Marius . This reply was modified 6 years, 7 months ago by Marius . Hey @turkal – thank you a lot for the details. I could successfully reproduce the issue and will push a fix for that within our next version. The version will be released within the next two days. 🙂 Hey @turkal – I just wanted to let you know that we pushed a new version, which addresses your fatal error as well. Feel free to reach out again in case it has not fixed your issue. 🙂

Comments

4 shown
Ironikus 2019-10-19T20:57:00+00:00

Hey @turkal – Thank you a lot for your request. Can you tell me with which parameter you currently call the function? I will then make some tests and update you after with further steps. Thank you already a lot!

Marius 2019-10-25T06:41:00+00:00

Hi @ironikus , I’m calling the function with parameters from another plugin (Pods): $the_travail = pods('travail', get_the_ID()); echo wpml_mailto($the_travail->display("email"), "Contacter l'auteur"); Which, basically, is equivalent to: echo wpml_mailto("email@email.com", "Contacter l'auteur"); Best, This reply was modified 6 years, 7 months ago by Marius . This reply was modified 6 years, 7 months ago by Marius . This reply was modified 6 years, 7 months ago by Marius .

Ironikus 2019-10-25T13:28:00+00:00

Hey @turkal – thank you a lot for the details. I could successfully reproduce the issue and will push a fix for that within our next version. The version will be released within the next two days. 🙂

Ironikus 2019-10-26T11:07:00+00:00

Hey @turkal – I just wanted to let you know that we pushed a new version, which addresses your fatal error as well. Feel free to reach out again in case it has not fixed your issue. 🙂