tristone
Forum Replies Created
-
Forum: Plugins
In reply to: [Access Areas for WordPress] Missing Argument WarningThis is caused by PHP 7.1.
Obviously the plug-in is not ready for actual PHP branch.I suffered the same problem and once downgraded to PHP 7.0.x it immediatelly started to work again.
Forum: Plugins
In reply to: [File Away] Wrong characters displayed in file name (description is OK)Hi,
I made a bit more research cause I am sure that webserver is set correctly to use UTF-8 everywhere it can be set. Complication is that I am running Apache on Windows server.
After some time I found that the problem is caused by usage of function strtolower on line 121 in class.attachaway.php.
If function mb_strtolower is used instead problem disappears. In fact the mb_ functions seem to be used by default in WordPress core.
In second step I managed to bypass the problem without touching plugin code – if PHP extension PHP_INTL is loaded even the strtolower works correctly. But this extension is not mentioned as a prerequisite for WordPress.
And additonal problem is that the LOCALE settings handled by this extension are process-wide in PHP, not thread-wide. So if any other application running in the same server process touches LOCALE settings it can affect also the WordPress site and break it again for given moment.
In my case it is happening. I suspect phpBB.For me it still looks to be better option usage of multi-byte string safe handling functions.