Allowed Memory Size media.php Issue
-
Hello, seem to have a problem come out of nowhere on the following:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 122880 bytes) in /customers/6/f/7/tonemgmt.com/httpd.www/tickets/wp-admin/includes/media.php on line 339
Below is my code in question, line 339 in highlighted in bold:
}
if ( ! empty( $meta[‘genre’] ) )
$content .= ‘ ‘ . sprintf( __( ‘Genre: %s.’ ), $meta[‘genre’] );// Use image exif/iptc data for title and caption defaults if possible. } elseif ( 0 === strpos( $type, 'image/' ) && $image_meta = @wp_read_image_metadata( $file ) ) { <strong>if ( trim( $image_meta['title'] ) && ! is_numeric( sanitize_title( $image_meta['title'] ) ) )</strong> $title = $image_meta['title']; if ( trim( $image_meta['caption'] ) ) $content = $image_meta['caption']; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Allowed Memory Size media.php Issue’ is closed to new replies.