Fatal Error – Too Few Arguments
-
This plugin is causing another plugin to have cause a fatal error. This is due to the code on line 427
return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );
WordPress now passes 3 arguments for this, the 3rd is $context. The other plugin is expecting this to be passed and does not allow a default. The other plugin is Enhanced Media Library. I am going to put in a report there but that plugin has not been updated in a while and may no longer be supported and I’ll likely need to replace it. But this may not be the only plugin that does this so it might cause conflicts in other plugins in the future. Would be great if you added the 3rd argument in your apply_filters() call.
- The topic ‘Fatal Error – Too Few Arguments’ is closed to new replies.