{"id":375,"date":"2022-08-30T15:00:18","date_gmt":"2022-08-30T15:00:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/06\/problem-about-codecharge-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:00:18","modified_gmt":"2022-08-30T15:00:18","slug":"problem-about-codecharge-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-codecharge-collection-of-common-programming-errors\/","title":{"rendered":"problem about codecharge-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/XmPkZ.jpg?s=32&amp;g=1\" \/><br \/>\nShadow Wizard<br \/>\njavascript jquery codecharge<br \/>\nThis is a script that is generated by CodeCharge (code generator) as part of my app (well, also by Artisteer designs, apparently). I have very little knowledge of web development, zero knowledge of JS and I have to use this code generator. The script keeps coming up with this error: &#8220;Line: 139, Char: 13, Error: Unable to get property &#8216;parent&#8217; of undefined or null reference, Code:0, URL: ). Like I was saying, I have no control upon generation of this script, but I can go and modify it, to hopefully fix this. Below is the full script. Line 139 is:var s = c.parent().children(&#8216;.art-layout-cell:not(.art-content)&#8217;);This is full script:\/* begin Page *\/ \/* Created by Artisteer v3.1.0.55575 *\/ \/\/ css helper (function($) {var data = [{str:navigator.userAgent,sub:&#8217;Chrome&#8217;,ver:&#8217;Chrome&#8217;,name:&#8217;chrome&#8217;},{str:navigator.vendor,sub:&#8217;Apple&#8217;,ver:&#8217;Version&#8217;,name:&#8217;safari&#8217;},{prop:window.opera,ver:&#8217;Opera&#8217;,name:&#8217;opera&#8217;},{str:navigator.userAgent,sub:&#8217;Firefox&#8217;,ver:&#8217;Firefox&#8217;,name:&#8217;firefox&#8217;},{str:navigator.userAgent,sub:&#8217;MSIE&#8217;,ver:&#8217;MSIE&#8217;,name:&#8217;ie&#8217;}];for (var n=0;n 7) return;jQuery(&#8216;ul.art-hmenu&gt;li:not(:first-child)&#8217;).each(function () { jQuery(this).prepend(&#8216; &#8216;); });if (!jQuery.browser.msie || parseInt(jQuery.browser.version) &gt; 6) return;jQuery(&#8216;ul.art-hmenu li&#8217;).each(function () {this.j = jQuery(this);this.UL = this.j.children(&#8216;ul:first&#8217;);if (this.UL.length == 0) return;this.A = this.j.children(&#8216;a:first&#8217;);this.onmo<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-06 03:33:35. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Shadow Wizard javascript jquery codecharge This is a script that is generated by CodeCharge (code generator) as part of my app (well, also by Artisteer designs, apparently). I have very little knowledge of web development, zero knowledge of JS and I have to use this code generator. The script keeps coming up with this error: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}