If hacked is run from drush (in my case using the --lock-modified switch), the following errors occur:
Error: Call to undefined function file_prepare_directory() in /var/aegir/platforms/mailflow2/sites/all/modules/hacked/includes/hacked_project.inc, line 352
Invalid argument supplied for foreach() in /var/aegir/platforms/mailflow2/sites/all/modules/hacked/hacked.drush.inc on line 201.If run from the web interface, the "Invalid argument" error occurs and shows up in the dblog. I have tried clearing all caches.
Comments
Comment #1
steven jones commentedSo, so sorry for these errors, a git cherry-pick went very wrong and a lot of D7 code ended up in the D6 branch.
This should now be fixed in the dev branch.
Comment #2
danepowell commentedNope, not fixed unfortunately.
Comment #3
adamdicarlo commentedI just reopened #1096936: Wrong core version: file_prepare_directory() with this same error (didn't see this issue). I'll let the maintainer decide which to mark duplicate and whatnot.
Comment #4
steven jones commentedThis should also now be fixed in beta5, thanks for your patience.