I get the warning message:
WARNING: /var/www/siteurl/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(35): Warning - realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/siteurl) - Piwik 3.2.0
Looking at where
Twig_Loader_Filesystem is used, the
$rootPath parameter is not passed to the constructor, so it falls back to the current working directory (which happens to be outside of the basedir for the PHP installation).
PHP Version: 7.0.19-1
Piwik Version: 3.2.0
I can provide more information if needed.
could you check if this changes fixes your problem:
Unfortunately this issue happens sporadically (it only happened for certain sites/date ranges), and I cannot currently reproduce it.
If it happens again, I will try the patch.
This issue repeated after upgrading to 3.3.0. Applying the patch appears to have resolved the issue.