Jump to content

Custom Transliteration not working


TND

Recommended Posts

http://docs.whmcs.com/Custom_Transliteration

 

this Custom Transliteration not working in WHMCS 6.x

 

<?php

function hook_transliterate($string) {
   $string = str_replace("ž","z",$string);
   $string = str_replace("é","e",$string);
   return $string;
}

add_hook("Transliteration",1,"hook_transliterate");

?>

 

and having problem with resellerclub

 

Catchable fatal error: Object of class WHMCS\Domains\Domain could not be converted to string in ****\includes\hooks\test.php on line 4

Link to comment
Share on other sites

  • 2 weeks later...

have you opened a ticket with Support about this?

 

it's very unlikely anyone from WHMCS will reply in the thread, so unless you're lucky enough for another user to have come across and resolved the same issue themselves, asking WHMCS directly might be your best bet.

 

.... and if they give you a working solution, update the thread with it.

Link to comment
Share on other sites

  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated