- ErrorException: [E_WARNING] file_put_contents(/opt/bitnami/apache2/htdocs/community/internal_data/code_cache/templates/l1/s0/public/EWRblock_Facebook.css.php): failed to open stream: Permission denied
- src/vendor/league/flysystem/src/Adapter/Local.php:199
- Generated by:
- Oct 6, 2020 at 11:42 PM
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] fil...', '/opt/bitnami/ap...', 199, Array)
#1 src/vendor/league/flysystem/src/Adapter/Local.php(199): file_put_contents('/opt/bitnami/ap...', '<?php
// FROM H...', 2)
#2 src/vendor/league/flysystem/src/Filesystem.php(99): League\Flysystem\Adapter\Local->update('templates/l1/s0...', '<?php
// FROM H...', Object(League\Flysystem\Config))
#3 [internal function]: League\Flysystem\Filesystem->put('templates/l1/s0...', '<?php
// FROM H...', Object(League\Flysystem\Config))
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent:
ut', Array)
#5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('put', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(57): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('put', Array)
#7 src/vendor/league/flysystem/src/MountManager.php(597): League\Flysystem\EventableFilesystem\EventableFilesystem->put('templates/l1/s0...', '<?php
// FROM H...', Array)
#8 src/XF/Util/File.php(197): League\Flysystem\MountManager->put('templates/l1/s0...', '<?php
// FROM H...', Array)
#9 src/XF/Service/Template/Compile.php(146): XF\Util\File::writeToAbstractedPath('code-cache://te...', '<?php
// FROM H...')
#10 src/XF/Service/Template/Compile.php(43): XF\Service\Template\Compile->writeCompiled(Object(XF\Entity\Template), 'code-cache://te...', 'return array(
'...')
#11 src/XF/Job/TemplateRebuild.php(87): XF\Service\Template\Compile->recompile(Object(XF\Entity\Template))
#12 src/XF/Job/Atomic.php(38): XF\Job\TemplateRebuild->run(G)
#13 src/XF/Job/Manager.php(258): XF\Job\Atomic->run(G)
#14 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, G)
#15 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, G)
#16 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#17 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#19 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#20 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#22 src/XF.php(464): XF\App->run()
#23 admin.php(13): XF::runApp('XF\\Admin\\App')
#24 {main}