<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Javascript API broken after latest WordPress release in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277598#M25612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;&lt;EM&gt;&lt;STRONG style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;SOLUTION:&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; For everyone interested: turned out the solution was moving all files that use DoJo beneath the jQuery UI files, so that jQuery UI is fully loaded before any DoJo stuff loads. Moved them all in the footer in that order (jQuery, then jQuery UI and then alle DoJo related files).&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;I'm running a Wordpress &lt;A href="https://tpgrf.nl/testserver/alpha/topotrainer/provincies/" rel="nofollow" style="color: #4a6b82;"&gt;website&lt;/A&gt; which uses both jQuery and the ArcGIS Javascript API v3.12. After recently upgrading from Wordpress 4.0.1 to 4.1, things broke. Dojo is returning multiple Error: multipleDefine errors.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Basically it looks like DoJo tries to load a new instance of jQuery, which it shouldn't, since WordPress has loaded jQuery already and there isn't a jQuery module available in the DoJo map. Furthermore, this issues seems to only exists in WordPress, not in a jsfiddle I made including exactly the same scripts.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;For debugging purposes I first disabled all WordPress plugins, without any result; the problem kept existing. I went on and found a couple of interesting things. But I'm really stuck in the further debugging proces. I know the scope of this question is rather broad, but any thoughts at all are very much appreciated.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;&lt;EM&gt;What I know so far/that i'm wondering about:&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-Things stopt working after upgrading to WordPress 4.1&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-In the info of the multipleDefine error it states &lt;A href="https://js.arcgis.com/3.11/jquery.js" rel="nofollow" style="color: #4a6b82;"&gt;https://js.arcgis.com/3.11/jquery.js&lt;/A&gt;, which is weird: it shouldn't be looking for jQuery there, since it's already included in Wordpress&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-Things break as soon as I included the ArcGIS Javascript API, which includes DoJO, but only in WordPress; on a jsfiddle things work fine &lt;A href="http://jsfiddle.net/dhunink/mry5vn3s/6/" rel="nofollow" style="color: #4a6b82;"&gt;http://jsfiddle.net/dhunink/mry5vn3s/6/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Above leads me to the conclusion that something changed in the last WordPress release that effects my script, although I can't find anything in the release notes that could be linked to my issue.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Any thoughts, suggestions of comments are highly appreciated! Feel free to see all in action at &lt;A href="https://tpgrf.nl/testserver/alpha/topotrainer/provincies/" rel="nofollow" style="color: #4a6b82;"&gt;https://tpgrf.nl/testserver/alpha/topotrainer/provincies/&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2014 14:48:20 GMT</pubDate>
    <dc:creator>DennisHunink</dc:creator>
    <dc:date>2014-12-23T14:48:20Z</dc:date>
    <item>
      <title>ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277598#M25612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;&lt;EM&gt;&lt;STRONG style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;SOLUTION:&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; For everyone interested: turned out the solution was moving all files that use DoJo beneath the jQuery UI files, so that jQuery UI is fully loaded before any DoJo stuff loads. Moved them all in the footer in that order (jQuery, then jQuery UI and then alle DoJo related files).&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;I'm running a Wordpress &lt;A href="https://tpgrf.nl/testserver/alpha/topotrainer/provincies/" rel="nofollow" style="color: #4a6b82;"&gt;website&lt;/A&gt; which uses both jQuery and the ArcGIS Javascript API v3.12. After recently upgrading from Wordpress 4.0.1 to 4.1, things broke. Dojo is returning multiple Error: multipleDefine errors.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Basically it looks like DoJo tries to load a new instance of jQuery, which it shouldn't, since WordPress has loaded jQuery already and there isn't a jQuery module available in the DoJo map. Furthermore, this issues seems to only exists in WordPress, not in a jsfiddle I made including exactly the same scripts.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;For debugging purposes I first disabled all WordPress plugins, without any result; the problem kept existing. I went on and found a couple of interesting things. But I'm really stuck in the further debugging proces. I know the scope of this question is rather broad, but any thoughts at all are very much appreciated.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;&lt;EM&gt;What I know so far/that i'm wondering about:&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-Things stopt working after upgrading to WordPress 4.1&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-In the info of the multipleDefine error it states &lt;A href="https://js.arcgis.com/3.11/jquery.js" rel="nofollow" style="color: #4a6b82;"&gt;https://js.arcgis.com/3.11/jquery.js&lt;/A&gt;, which is weird: it shouldn't be looking for jQuery there, since it's already included in Wordpress&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;-Things break as soon as I included the ArcGIS Javascript API, which includes DoJO, but only in WordPress; on a jsfiddle things work fine &lt;A href="http://jsfiddle.net/dhunink/mry5vn3s/6/" rel="nofollow" style="color: #4a6b82;"&gt;http://jsfiddle.net/dhunink/mry5vn3s/6/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Above leads me to the conclusion that something changed in the last WordPress release that effects my script, although I can't find anything in the release notes that could be linked to my issue.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;Any thoughts, suggestions of comments are highly appreciated! Feel free to see all in action at &lt;A href="https://tpgrf.nl/testserver/alpha/topotrainer/provincies/" rel="nofollow" style="color: #4a6b82;"&gt;https://tpgrf.nl/testserver/alpha/topotrainer/provincies/&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 14:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277598#M25612</guid>
      <dc:creator>DennisHunink</dc:creator>
      <dc:date>2014-12-23T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277599#M25613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dojo and the javascript api don't use/load jquery.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2015 17:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277599#M25613</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2015-01-02T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277600#M25614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like Dennis got an answer to this question over on gis.stackexhange.com. Posting link here in case others run into this issue: &lt;A href="http://gis.stackexchange.com/questions/127499/arcgis-javascript-api-on-wordpress-4-1" title="http://gis.stackexchange.com/questions/127499/arcgis-javascript-api-on-wordpress-4-1"&gt;ArcGIS Javascript API on Wordpress 4.1 - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2015 17:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277600#M25614</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-01-02T17:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277601#M25615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2015 17:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277601#M25615</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2015-01-02T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277602#M25616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, did forgot to post the right answer here as well; just did. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2015 09:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277602#M25616</guid>
      <dc:creator>DennisHunink</dc:creator>
      <dc:date>2015-01-03T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277603#M25617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;i have been searching for information on how to use the JS API in Wordpress. It looks like you have figured it out. My company is building a new website and we want to have a simple map to show the location of power outages. Are you interested in working with us?&lt;/P&gt;&lt;P&gt;Thanks, Russell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277603#M25617</guid>
      <dc:creator>RussellShirley</dc:creator>
      <dc:date>2015-01-16T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277604#M25618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Russell! You did got me curious about the details! For some reason I can't send you a private message on Geonet. Could you send me some more details by email? dennishunink AT me DOT com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277604#M25618</guid>
      <dc:creator>DennisHunink</dc:creator>
      <dc:date>2015-01-16T18:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API broken after latest WordPress release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277605#M25619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sent you en email this morning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-broken-after-latest/m-p/277605#M25619</guid>
      <dc:creator>RussellShirley</dc:creator>
      <dc:date>2015-01-19T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

