You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught ReflectionException: Class RandomLib\\Mixer\\._McryptRijndael128 does not exist in
[snip]/vendor/ircmaxell/security-lib/lib/SecurityLib/AbstractFactory.php:50
Redeploying without those files fixed the problem.
However, consider adding a check that the file is a "real" php file. Or perhaps catch that exception, error_log() a message and skip that file.
The text was updated successfully, but these errors were encountered:
We ran into a problem where some MacOS metadata files (see https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them) got included in the deployment to production. This broke the library because files like
vendor/ircmaxell/random-lib/lib/RandomLib/Mixer/._McryptRijndael128.php
existed, andAbstractFactory::loadFiles()
tried to load them, resulting inRedeploying without those files fixed the problem.
However, consider adding a check that the file is a "real" php file. Or perhaps catch that exception, error_log() a message and skip that file.
The text was updated successfully, but these errors were encountered: