{"id":5548237,"date":"2014-12-05T12:55:41","date_gmt":"2014-12-05T12:55:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp_debug-issues\/"},"modified":"2016-08-22T13:14:52","modified_gmt":"2016-08-22T13:14:52","slug":"wp_debug-issues","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp_debug-issues\/","title":{"rendered":"WP_DEBUG issues"},"content":{"rendered":"<p><strong>There are many WP_DEBUG messages with WP 4.0.1&#8230;<\/strong><\/p>\n<p>After authorizing and saving all settings as the defaults, I saw these messages:<\/p>\n<blockquote>\n<p>Notice: Undefined index: availableGalleries in \/wp-content\/plugins\/smugmug-embed\/includes\/SmugMugEmbedSettings.php on line 32<br \/>\nNotice: Undefined index: availableSizes in \/wp-content\/plugins\/smugmug-embed\/includes\/SmugMugEmbedSettings.php on line 33<br \/>\nNotice: Undefined index: availableClickResponses in \/wp-content\/plugins\/smugmug-embed\/includes\/SmugMugEmbedSettings.php on line 34<\/p>\n<\/blockquote>\n<p>I saw these same notices in the &#8220;Embed from SmugMug&#8221; media insert area from the post editor.<br \/>\nThe caption field was also filled with this text:<\/p>\n<pre><code>&lt;br \/&gt;\n&lt;b&gt;Notice&lt;\/b&gt;:  Undefined variable: SME_owner in &lt;b&gt;\/wp-content\/plugins\/smugmug-embed\/includes\/SME-smugmugembed_shortcode.php&lt;\/b&gt; on line &lt;b&gt;93&lt;\/b&gt;&lt;br \/&gt;<\/code><\/pre>\n<p>Screenshot: http:\/\/cl.ly\/image\/0X0m063i3b0V<\/p>\n<p>I WAS able to insert an image at this time.<\/p>\n<p>Then I went back to SME settings to be able to choose link-to and image-size options. After setting those (another WP_DEBUG message), the SME media insert would not work. Messages:<\/p>\n<blockquote>\n<p>Notice: Undefined index: newWindow in \/wp-content\/plugins\/smugmug-embed\/includes\/SME-smugmugembed_shortcode.php on line 235<\/p>\n<p>Warning: getimagesize(http:\/\/media.tourkick.com\/Tours\/MLS-1020111-Tradition-10616-S\/i-7Sj69Rk\/1\/S\/DSC01064-S.jpg): failed to open stream: HTTP request failed! HTTP\/1.1 404 Not Found in \/wp-content\/plugins\/smugmug-embed\/includes\/SME-smugmugembed_shortcode.php on line 276<\/p>\n<p>Notice: Undefined variable: out in \/wp-content\/plugins\/smugmug-embed\/includes\/SME-smugmugembed_shortcode.php on line 307<\/p>\n<\/blockquote>\n<p><strong>Additionally, SME only displays images, not videos.<\/strong> If you select something you know is a video, it&#8217;ll really only display the video thumbnail image on the page.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/smugmug-embed\/<\/p>\n","protected":false},"template":"","class_list":["post-5548237","topic","type-topic","status-closed","hentry","topic-tag-smugmug","topic-tag-wp_debug"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5548237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5548237\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5548237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}