I do not know what causes the issue. The previous version 2.6.4 worked with “tweet-old-post”?
1) /wp-admin/includes/media.php
line 1670: $form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post );
attachment_fields_to_edit
called
2) /plugins/enhanced-media-library/core/taxonomies.php
line 704 in v2.7.2: foreach( $form_fields as $field => $args ) {
$form_fields
is a parameter passed to attachment_fields_to_edit
in /wp-admin/includes/media.php, line 1670
It’s wrong at this point already. So, it has been changed somewhere before.
3) /wp-admin/includes/media.php
line 1691: foreach ( $form_fields as $id => $field ) {
Filtered variable that was wrong in /plugins/enhanced-media-library/core/taxonomies.php, line 704
Resume: something changes $form_fields
before EML is trying to do the same. I’ll take a look at that plugin as soon as I have time.
Best,
-Nadia
-
This reply was modified 6 years, 2 months ago by webbistro.