child theme customize “Please wait this might take a while”
-
I have created a child theme of materialis but when I try to go into the customize area I get the spinning animation and a “Please wait this might take a while” message.
I looked in the console and saw two errors detailed below
Uncaught TypeError: jQuery(...).parent(...).andSelf is not a function at HTMLAnchorElement.<anonymous> (theme.bundle.min.js?ver=1.0.1:1) at Function.each (jquery-3.4.1.slim.min.js:2) at E.fn.init.each (jquery-3.4.1.slim.min.js:2) at theme.bundle.min.js?ver=1.0.1:1 at Object.../assets/js/smoothscroll.js (theme.bundle.min.js?ver=1.0.1:1) at o (theme.bundle.min.js?ver=1.0.1:1) at Object.1 (theme.bundle.min.js?ver=1.0.1:1) at o (theme.bundle.min.js?ver=1.0.1:1) at theme.bundle.min.js?ver=1.0.1:1 at theme.bundle.min.js?ver=1.0.1:1 (anonymous) @ theme.bundle.min.js?ver=1.0.1:1 each @ jquery-3.4.1.slim.min.js:2 each @ jquery-3.4.1.slim.min.js:2 (anonymous) @ theme.bundle.min.js?ver=1.0.1:1 ../assets/js/smoothscroll.js @ theme.bundle.min.js?ver=1.0.1:1 o @ theme.bundle.min.js?ver=1.0.1:1 1 @ theme.bundle.min.js?ver=1.0.1:1 o @ theme.bundle.min.js?ver=1.0.1:1 (anonymous) @ theme.bundle.min.js?ver=1.0.1:1 (anonymous) @ theme.bundle.min.js?ver=1.0.1:1 Uncaught TypeError: jQuery(...).load is not a function at Function.<anonymous> (?customize_changeset_uuid=8982d8e7-d561-4d08-89dc-2a32591ea4de&customize_theme=materialis-child&customize_messenger_channel=preview-0:425) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith (jquery.js?ver=1.12.4-wp:2) at Function.trigger (customize-base.min.js?ver=5.2.4:1) at HTMLDocument.<anonymous> (customize-preview.min.js?ver=5.2.4:1) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=1.12.4-wp:2) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2) (anonymous) @ ?customize_changeset…annel=preview-0:425 i @ jquery.js?ver=1.12.4-wp:2 fireWith @ jquery.js?ver=1.12.4-wp:2 trigger @ customize-base.min.js?ver=5.2.4:1 (anonymous) @ customize-preview.min.js?ver=5.2.4:1 i @ jquery.js?ver=1.12.4-wp:2 fireWith @ jquery.js?ver=1.12.4-wp:2 ready @ jquery.js?ver=1.12.4-wp:2 J @ jquery.js?ver=1.12.4-wp:2
Having searched around, it seems like the function andSelf() was removed from jQuery version 3 and the addBack() method should be used instead. https://api.jquery.com/andself/
Is there any way to get the customize area to work in a child theme as it seems to work fine in the main materialis theme.
- The topic ‘child theme customize “Please wait this might take a while”’ is closed to new replies.