Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
r2778 - log errors
Hi,
Just updated a site to the latest SVN, on the log page I get these errors:
Warning: Missing argument 2 for soft_wrap(), called in /var/www/mydoiam/textpattern/include/txp_log.php on line 186 and defined in /var/www/txpun/com/textpattern/lib/txplib_misc.php on line 2022
Notice: Undefined variable: width in /var/www/mydomain/textpattern/lib/txplib_misc.php on line 2032
Warning: Division by zero in /var/www/mydomain/textpattern/lib/txplib_misc.php on line 2032
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: r2778 - log errors
Oops, that’s my fault. I’ll fix that later today unless someone beats me to it.
On line 186 in log.php, this:
htmlspecialchars(soft_wrap($log_page), 30)
should be changed to:
htmlspecialchars(soft_wrap($log_page, 30))
Offline
Re: r2778 - log errors
yup, that does it on my copy. Thanks.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: r2778 - log errors
That was it, thanks.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: r2778 - log errors
Thanks for pointing it out, Bert. It’s fixed in SVN now.
Offline
Pages: 1