• Li-An

    (@li-an)


    Last version adds notifications for some EXIF problems. You cannot deactivate this if you don’t pay. Goodbye.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jack Arturo

    (@verygoodplugins)

    @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)

    I’ve got these errors notifications

    Error notification For site https://www.lecridumargouillat.re

    (Pause notifications, mute plugins, and more in Fatal Error Notify Pro)

    Plugin Author Jack Arturo

    (@verygoodplugins)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this review.