I haven’t explicitly used the strtolower function in my application. When I run the app locally (using php version 5.4.16) I have no problem. However, when I run it on the server (php version 5.6.19) it gives me this error. I’ve experienced this in 3 applications, 2 of which I have got to run by removing the Case Settings option (Capitalise each word) on the relevant fields.
If you are using Multi-Byte (unicode) strings on your server strtolower does not work and you will need to use mb_strtolower
Hi William, thanks for your reply. However, I’m no closer to understanding what I have to do. How do I use mb_strtolower instead of strtolower? I’m not explicitly using the function anywhere - I’m guessing this is internal Scriptcase code that is used when a field is set to something like “Capitalise all words” in the Values Format section of the field properties. This causes the strtolower error, and limiting the characters (e.g. numbers and spaces only for a telephone field) causes the same error but with the “undefined function” being sc_substr.