Fatal error when updating to latest version using git tools
-
Hi,
I get a fatal error after updating the plugin to the latest version:
Error Details An error of type E_ERROR was caused in line 184 of the file /public_html/www.example.com/wp-content/plugins/advanced-access-manager/application/Core/Migration.php. Error message: Uncaught UnexpectedValueException: DirectoryIterator::__construct(/public_html/www.example.com/wp-content/plugins/advanced-access-manager/application/Migration): failed to open dir: No such file or directory in /public_html/www.example.com/wp-content/plugins/advanced-access-manager/application/Core/Migration.php:184
I use git tools to deploy changes to my website, so the problem here is that git does not commit empty directories, which is the case in advanced-access-manager/application/Migration. So I ended up creating an empty .gitkeep file in the Migration directory to get the site working again.
I just wanted to comment on the issue in case the developer considers leaving an empty file in that directory in future versions, so it doesn’t affect other users deploying with git.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal error when updating to latest version using git tools’ is closed to new replies.