- Issue created by @loze
I am using MacOs and MAMP server for local development.
I am getting a 500 server error trying to read exif metadata on any image
the only message in my sever logs is this:
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
its fails here:
$my_file_metadata = $fmdm->uri($uri);
$my_file_metadata->copyUriToTemp();
$value = $my_file_metadata->getMetadata('exif', 'ExposureTime');
this call to getMetadata is where it is breaking. it breaks no matter what key I try to retrieve.
other calls to the metadata manager do work, for example
$my_file_metadata->getSupportedKeys('exif', ['ifds' => TRUE])
does work, and returns the keys.
but the call to getMetadata crashes everything, on any image.
Im using:
Drupal 10.4.4
file_mdm 3.1.x-dev
fileeye/pel 0.11.0
only attempting to use file_mdm_exif data is failing, calls to $my_file_metadata->getMetadata('getimagesize', 'mime'); work fine.
Any suggestions? I have never seen that error before and don't know where to start
Active
3.1
Code