@li-an What if I told you: if you told me— what notifications are you getting exactly? And what EXIF problems?
And what if we fixed those for you completely for free?
Hello? 😊
Thread Starter
Li-An
(@li-an)
Thanks @li-an !
It’s a good point. EXIF warnings like that are pretty common and don’t usually indicate a problem.
We’ll add some extra logic to the next update to filter out “noise” notifications like that.
In the meantime you can suppress this error notification on your site using the fen_ignore_error filter. Either add this code to your theme’s functions.php, or with a snippet manager:
add_filter( 'fen_ignore_error', function( $ignore, $error ) {
if ( empty( $error['type'] ) || empty( $error['message'] ) ) {
return $ignore;
}
// Ignore common noisy EXIF warning from malformed APP1 metadata.
if (
E_WARNING === (int) $error['type'] &&
false !== strpos( $error['message'], 'exif_read_data(' ) &&
false !== strpos( $error['message'], 'Incorrect APP1 Exif Identifier Code' )
) {
return true;
}
return $ignore;
}, 10, 2 );
More info and examples are at https://fatalerrornotify.com/documentation/developer/hooks-and-filters/
Thread Starter
Li-An
(@li-an)
Good to see you are reactive. I will test before changing my evaluation.