@mattab opened this Issue on September 21st 2017 Owner

error message reported by email:

Call to undefined function Piwik\Plugins\ScheduledReports\mb_strtoupper() in /home/adad1041/public_html/adept_piwik/plugins/ScheduledReports/Controller.php 39 using PHP 7.0.23

we should call nb_strtotupper only when the function is available (when mbstring extension is enabled), otherwise we should just leave the text as-is (to avoid calling strtotupper on unicode which would not work).

@sgiehl commented on September 22nd 2017 Member

mbstring extension is required for Piwik. At least we have a system check for it. Also the testMinimumPhpVersion.php should prove that func_overload is disabled. So this method should always be available. But as we already have proxy methods for most mb_* functions, why not adding that one as well...

@mattab commented on September 22nd 2017 Owner

So this method should always be available.

interesting, didn't remember we required the extension. it can become sometimes un-available later if server changes configuration.

@sgiehl commented on September 22nd 2017 Member
This Issue was closed on September 25th 2017
Powered by GitHub Issue Mirror