• Resolved Marius

    (@turkal)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ironikus

    (@ironikus)

    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!

    Thread Starter Marius

    (@turkal)

    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 protected]", "Contacter l'auteur");

    Best,

    • This reply was modified 5 years, 1 month ago by Marius.
    • This reply was modified 5 years, 1 month ago by Marius.
    • This reply was modified 5 years, 1 month ago by Marius.
    Plugin Author Ironikus

    (@ironikus)

    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. ??

    Plugin Author Ironikus

    (@ironikus)

    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. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error : wpml_mailto()’ is closed to new replies.