Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2018-12-28 03:06:51
- craigbass76
- Member
- Registered: 2009-12-23
- Posts: 36
4.7.2 Create new section gives an error
Actually, saving one that already exists throws the same error. Warning “strtolower() expects exactly 1 parameter, 2 given”. is what I get.
I’m only running it on my laptop (Ubuntu 18.04 variant with stock PHP 7.2 and Apache 2.4.29), so it’s nothing live and pressing. Apache logs don’t tell me anything. Anyone know what’s up? Something I have to turn on in PHP? I have no control over PHP when it goes live — I’m at the mercy of my web host.
Offline
Re: 4.7.2 Create new section gives an error
craigbass76 wrote #315789:
Anyone know what’s up? Something I have to turn on in PHP? I have no control over PHP when it goes live — I’m at the mercy of my web host.
The usual suspect, sorry. Enabling mbstrings
PHP extension should solve it. On live servers it is generally enabled, so the error has not been detected until now, but we need a quick fix.
Offline
#3 2018-12-28 13:43:39
- craigbass76
- Member
- Registered: 2009-12-23
- Posts: 36
Re: 4.7.2 Create new section gives an error
That was it. Was I numb, or was that answer just sitting out somewhere that I couldn’t quite get two search engines to find? I’ll put it in my “retrospective” blog post, as soon as I get migrated over from Wordpress. :)
Offline
Re: 4.7.2 Create new section gives an error
craigbass76 wrote #315797:
That was it. Was I numb, or was that answer just sitting out somewhere that I couldn’t quite get two search engines to find?
Not at all, that’s entirely my fault. mbstrings
extension is should not be mandatory to run txp. Already fixed in the next version, you can download txp_section.php file if needed.
Offline