We're on Vaultwiki 4.0.6, latest version + Xenforo 1.5.
We've been getting an error 'Undefined index: attachfileid' ever since 4.0.5. I didn't report earlier as I was hoping the upgrade to 4.0.6 would have fixed it.
The only real change we made in 4.0.5 was we couldn't figure out how to make the homepage have a different author name from within the Vaultwiki UI, so I went through the database and replaced all instances in vw_* tables of the userID and username of the person who originally installed Vaultwiki with the desired username/userID and then rebuilt the caches. Everything seemed to work fine, and I unfortunately don't remember if this error was happening before this change.
Here is the stacktrace from Xenforo--some of them say 'Unknown Account' and some of them have a named user account:
This error will occur when trying to view/download a corrupt attachment (an attachment that was uploaded but the actual file content is missing). To silence the error, edit vault/core/controller/asset/vw.php. Find:
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.