<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Uncaught TypeError: Cannot read property 'apply' of undefined error</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120460326" />
  <subtitle>Uncaught TypeError: Cannot read property 'apply' of undefined error</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120460326</id>
  <updated>2026-04-04T08:03:46Z</updated>
  <dc:date>2026-04-04T08:03:46Z</dc:date>
  <entry>
    <title>RE: Uncaught TypeError: Cannot read property 'apply' of undefined error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121377759" />
    <author>
      <name>hlipper john</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121377759</id>
    <updated>2022-03-14T17:49:49Z</updated>
    <published>2022-03-14T05:27:22Z</published>
    <summary type="html">&lt;p&gt;In JavaScript almost everything is an object, null and undefined are
  exceptions. This error  occurs when a property is read or a function
  is called on an undefined variable. Undefined means that a variable
  has been declared but has not been assigned a value. In JavaScript,
  properties and functions can only belong to objects. Since undefined
  is not an object type, calling a function or a property on such a
  variable causes the TypeError: &lt;a
    href="http://net-informations.com/js/iq/unerror.htm"&gt;Cannot read
  property&lt;/a&gt; of undefined.  &lt;/p&gt;
&lt;p&gt;If you are not sure a variable that will always have some value, the
  best practice is to check the value of variables for null or undefined
  before using them. To avoid getting these types of errors, you need to
  make sure that the variables you are trying to read do have the
  correct value. This can be done in various ways. You can do if checks
  before dealing with objects whose values are bound to change:&lt;/p&gt;
&lt;p&gt;if (myVar !== undefined) {&lt;br /&gt;     ...&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;Or&lt;/p&gt;
&lt;p&gt;if (typeof(myVar) !== 'undefined') {&lt;br /&gt;     ...&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>hlipper john</dc:creator>
    <dc:date>2022-03-14T05:27:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Uncaught TypeError: Cannot read property 'apply' of undefined error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120466913" />
    <author>
      <name>Aravinth Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120466913</id>
    <updated>2020-11-23T14:23:20Z</updated>
    <published>2020-11-23T14:23:20Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;p&gt;Thanks for your response. Its resolved now.&lt;/p&gt;
&lt;p&gt;The issue was with our custom theme and found that there was some
  jquery conflicts in our theme which was causing issue. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Aravinth&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Aravinth Kumar</dc:creator>
    <dc:date>2020-11-23T14:23:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Uncaught TypeError: Cannot read property 'apply' of undefined error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120466378" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120466378</id>
    <updated>2020-11-23T08:08:22Z</updated>
    <published>2020-11-23T08:08:22Z</published>
    <summary type="html">&lt;p&gt;I don't get that message. It might help if you give a few more steps
  to reproduce: In which situations do you observe it? Which version
  (fixpack)? What do you need to have on a page?&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-11-23T08:08:22Z</dc:date>
  </entry>
  <entry>
    <title>Uncaught TypeError: Cannot read property 'apply' of undefined error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120460325" />
    <author>
      <name>Aravinth Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120460325</id>
    <updated>2020-11-19T17:48:33Z</updated>
    <published>2020-11-19T06:18:51Z</published>
    <summary type="html">&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;We are using Liferay DXP 7.2 and we get the below error. Its not
  blocking any functionality but it shows error in browser console. Did
  anyone face such issue. Could you please guide us. Thanks in Advance.&lt;/p&gt;
&lt;p&gt;
  &lt;img src="/documents/14/0/issue.jpg/a2f72cbb-80c8-8c5a-4232-1a1ecb49bbdf?t=1605766654157&amp;amp;imagePreview=1" /&gt;&lt;/p&gt;
&lt;p&gt;/combo?browserId=other&amp;amp;minifierType=js&amp;amp;languageId=fr_FR&amp;amp;b=7302&amp;amp;t=1603795468884&amp;amp;/o/frontend-js-aui-web/aui/aui/aui.js&amp;amp;/o/frontend-js-aui-web/liferay/modules.js&amp;amp;/o/frontend-js-aui-web/liferay/browser_selectors.js&amp;amp;/o/frontend-js-aui-web/liferay/aui_sandbox.js&amp;amp;/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&amp;amp;/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&amp;amp;/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&amp;amp;/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&amp;amp;/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&amp;amp;/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&amp;amp;/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&amp;amp;/o/frontend-js-aui-web/aui/oop/oop.js&amp;amp;/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&amp;amp;/o/frontend-js-aui-web/liferay/dependency.js&amp;amp;/o/frontend-js-aui-web/liferay/util.js&amp;amp;/o/frontend-js-aui-web/aui/aui-base-html5-shiv/aui-base-html5-shiv.js&amp;amp;/o/frontend-js-aui-web/aui/arraylist-add/arraylist-add.js&amp;amp;/o/frontend-js-aui-web/aui/arraylist-filter/arraylist-filter.js&amp;amp;/o/frontend-js-aui-web/aui/arraylist/arraylist.js&amp;amp;/o/frontend-js-aui-web/aui/array-extras/array-extras.js&amp;amp;/o/frontend-js-aui-web/aui/array-invoke/array-invoke.js&amp;amp;/o/frontend-js-aui-web/aui/base-base/base-base.js&amp;amp;/o/frontend-js-aui-web/aui/base-pluginhost/base-pluginhost.js&amp;amp;/o/frontend-js-aui-web/aui/classnamemanager/classnamemanager.js&amp;amp;/o/frontend-js-aui-web/aui/datatype-xml-format/datatype-xml-format.js&amp;amp;/o/frontend-js-aui-web/aui/datatype-xml-parse/datatype-xml-parse.js&amp;amp;/o/frontend-js-aui-web/aui/dom-base/dom-base.js&amp;amp;/o/frontend-js-aui-web/aui/dom-core/dom-core.js&amp;amp;/o/frontend-js-aui-web/aui/dom-screen/dom-screen.js&amp;amp;/o/frontend-js-aui-web/aui/dom-style/dom-style.js&amp;amp;/o/frontend-js-aui-web/aui/event-base/event-base.js&amp;amp;/o/frontend-js-aui-web/aui/event-delegate/event-delegate.js&amp;amp;/o/frontend-js-aui-web/aui/event-focus/event-focus.js&amp;amp;/o/frontend-js-aui-web/aui/event-hover/event-hover.js&lt;/p&gt;</summary>
    <dc:creator>Aravinth Kumar</dc:creator>
    <dc:date>2020-11-19T06:18:51Z</dc:date>
  </entry>
</feed>
