Skip to content

Query returns 'Call to a member function transliterate() on null" #2977

Answered by marygriffus
marygriffus asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, php.ini already contained 'default_charset = "UTF-8"'. When I initially ran with the additional lines, I got NULL for each. I found that if I removed all rules involving ascii from each I'm now getting:

object(Transliterator)#1 (1) {
  ["id"]=>
  string(13) "RulesTransPHP"
}

for each, so.. will I be safe if I just remove those before running from the original? Or is there something I need to update elsewhere for ASCII usage?

Thank you so much for your help-- I'm sure you can tell, I am not a PHP user, so this would have taken a thousand times longer without you.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@marygriffus
Comment options

@lonvia
Comment options

Comment options

You must be logged in to vote
1 reply
@lonvia
Comment options

Answer selected by marygriffus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants