WPIntell

Source evidence

Fatal Error – Too Few Arguments

Enhanced Media Library · support · 2023-11-08T14:30:00+00:00

mixedsentiment
highseverity
0.88relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 23 rows with source links

26.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

17 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
John Huebner resolved
This plugin is causing an fatal error in the “wp_generate_attachment_metadata” filter. File “…core/mime-types.php” line 251. Some older plugins apply this filter without the $context argument, 3rd parameter. Since your function does not use this argument it would be great if you could set it to a default add_filter( 'wp_generate_attachment_metadata', function( $metadata, $attachment_id, $context='' ) { Hi John, Sorry for such a late response. I’ll add the fix to the next update. Best, -Nadia Hi John, (@hube2) It’s fixed in v2.8.15. Thank you for letting me know! Best, -Nadia Glad to help, not sure at this point what site this was on but I had disabled the other plugin that was applying the filter because the other plugin was not being used. I’m pretty sure I posted something on that plugin as well but never heard back on their end. Hi John, (@hube2) I tested EML with that plugin (I found your message to its author), it was AJAX Thumbnail Rebuild. So, if you decide to activate it again, it will work. Also, if any other plugin uses the hook with too few arguments it will work anyway. Best, -Nadia

Comments

4 shown
webbistro 2024-05-02T18:37:00+00:00

Hi John, Sorry for such a late response. I’ll add the fix to the next update. Best, -Nadia

webbistro 2024-05-10T09:04:00+00:00

Hi John, (@hube2) It’s fixed in v2.8.15. Thank you for letting me know! Best, -Nadia

John Huebner 2024-05-12T14:02:00+00:00

Glad to help, not sure at this point what site this was on but I had disabled the other plugin that was applying the filter because the other plugin was not being used. I’m pretty sure I posted something on that plugin as well but never heard back on their end.

webbistro 2024-05-17T14:40:00+00:00

Hi John, (@hube2) I tested EML with that plugin (I found your message to its author), it was AJAX Thumbnail Rebuild. So, if you decide to activate it again, it will work. Also, if any other plugin uses the hook with too few arguments it will work anyway. Best, -Nadia