Quote:
Notice: Uninitialized string offset: 0 in /wp-content/themes/testing/montezuma/includes/image_meta.php on line 34 Warning: array_keys() expects parameter 1 to be array, string given in /wp-content/themes/testing/montezuma/includes/image_meta.php on line 34 Warning: Invalid argument supplied for foreach() in /wp-content/themes/testing/montezuma/includes/image_meta.php on line 40 |
Code:
$meta = wp_get_attachment_metadata(); if( empty( $meta ) ) return;