Closed mirkoschubert closed 1 week ago
Thank you for submitting your report and for helping us improve Breakdance. We have reviewed your submission, but currently, we're unable to reproduce the issue based on the information provided.
To ensure that your issue is addressed as efficiently as possible, we kindly request that you contact our dedicated support team by emailing support@breakdance.com. Our team is well-equipped to dive deeper into specific scenarios and provide personalized assistance.
If you upgrade your Breakdance plugin from 2.0.0-beta.1 to 2.0.0-beta.2 you may have a fatal error.
Step-by-step for reproduction:
Error message (debug.log):
Possible explanation
It seems that after the upgrade the Twig auto generated cache bucket will be cleared. The
RecursiveDirectoryIterator
tries to read those directories, but on some shared Webhosters the/tmp/
directory might be restricted. I tried to create the directories myself and checked the permissions which where at 777, but got still the same fatal error.I figured out that
et_bucket_abs_path()
usesget_temp_dir()
, so it defaults to/tmp/
but can be overwritten with theWP_TEMP_DIR
constant.Preliminary solution
You can define a temp directory with
define('WP_TEMP_DIR', '/path/to/tmp/');
and create those sub directories mentioned in the error message. Make sure that the directories have 755 permissions.Versions