Fixed.
Thanks to some feedback on reddit (see this thread and this one), I learned that the issue was that the mootools.js script was being loaded far too late.
I solved it (rather inelegantly, I’m sure) by adding this line to themes/rt_gantry_wp/index.php, around line 30 or so (before the if blocks):
$gantry->addScript('/wp-content/plugins/gantry/js/mootools.js');
It’s no longer throwing either of those errors. The menu still doesn’t work, but that’s, apparently, a different problem.
The code’s a rat’s nest, but this solved the issue, and will hopefully point anyone who has this problem in the future toward a more elegant solution.
Related Posts:
- Implementing Isomorphic JavaScript (React JS) in WordPress?
- WordPress 5.5 – ReferenceError: commonL10n is not defined error
- WordPress Errors? Update Failed! data.min.js
- TypeError: window.tinyMCE.execInstanceCommand is not a function
- Widgets and Post/Page edit/new blank, console errors only, no server errors
- Uncaught TypeError: jQuery(…).slider is not a function
- find out reason of “Updating failed” in Post-editor
- ‘ajaxurl’ is undefined — wp-includes/js/wp-lists.js
- Deferring Script wp-i18n causes a console error ‘wp is not defined’ – Gravityforms
- Uncaught TypeError: Cannot read property ‘add’ of undefined bp-plupload.min.js
- Error handling for wpdb error – displaying an error message to the user
- JavaScript errors
- Error – Uncaught TypeError: e.dispatchEvent is not a function
- ES6 Map in Typescript
- How do I color a hexagonal grid such that it doesn’t have neighbors of the same color?
- How to format a JavaScript date
- Wait 5 seconds before executing next line
- How to check whether a string contains a substring in JavaScript?
- Maximum call stack size exceeded error
- JavaScript equivalent to printf/String.Format
- How to read a local text file?
- Open a URL in a new tab (and not a new window)
- Node.js heap out of memory
- JavaScript getElementByName doesn’t work
- jQuery.click() vs onClick
- Understanding nested for loops in javascript
- await is only valid in async function
- Tricky : ‘dict’ object is not callable
- Scroll to an element with jQuery
- Node.js – SyntaxError: Unexpected token import
- What is the “right” JSON date format?
- jQuery animate backgroundColor
- JavaScript get element by name
- How do I disable right click on my web page?
- Left() function in Javascript or jQuery
- Why is “forEach not a function” for this object?
- Completely disable scrolling of webpage
- How to convert selected HTML to Json?
- Express error – TypeError: Router.use() requires middleware function but got a Object
- How to Open New window on every Click
- Jquery Ajax Call, doesn’t call Success or Error
- How to create a stopwatch using JavaScript?
- Get all non-unique values (i.e.: duplicate/more than one occurrence) in an array
- How to set onClick with JavaScript?
- How does += (plus equal) work?
- Javascript Comparison Operators != vs !==
- onEnter not called in React-Router
- Find the largest palindrome made from the product of two 3-digit numbers – Javascript
- Javascript/Jquery Convert string to array
- How to interpolate variables in strings in JavaScript, without concatenation?
- How can I use webpack with express?
- JavaScript check if variable exists (is defined/initialized)
- Embedding instagram webpage inside an iframe
- Do something if screen width is less than 960 px
- How to add a keyboard listener to my onClick handler?
- GulpUglifyError:Unable to minify JavaScript
- Javascript – Replace html using innerHTML
- Syntax error: Illegal return statement in JavaScript
- Error: TypeError: $(…).dialog is not a function
- Bootstrap modal – close modal when “call to action” button is clicked
- Javascript: difference between a statement and an expression?
- Keep getting a “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup” when attempting to google plus login on my web app
- The entity name must immediately follow the ‘&’ in the entity reference
- How can I unset a JavaScript variable?
- D3.js: what is ‘g’ in .append(“g”) D3.js code?
- Correct modification of state arrays in React.js
- Angular 2 Sort table columns
- JavaScript string encryption and decryption?
- How to dequeue a script?
- How to use wp_localize_script in custom page template?
- Force core to use .dev JavaScript files
- WP Customizer set a value via javascript (to create presets)
- TinyMCE Button to Insert Multiple Lines of Text?
- How to add extra attributes to the script tag added via wp_localize_script()
- preserve url parameters from affliliate sites
- How to overwrite JS variable with wp_localize _script?
- How to get value of selected page template in Gutenberg editor?
- What javascript libs & frameworks are integrated in WordPress vanilla?
- Conditional fields in contact form 7 not working
- How to place script in footer?
- Enqueueing a script and a style sheet not working
- AngularJS with route and JSON API
- Setting/unsetting terms using the Backbone JavaScript client
- enqueue script won’t work (enqueue style does work)
- Variable equals another variable and then equals another variable
- in jquery read a multidimensional array via wp_localize_script()
- Custom JS on a specific page
- How to get file object from file_attachment?
- How do I load urls from an external .js file to my admin head?
- Nothing in dashboard that uses javascript works
- Where is the Javascript attribute window._wpCustomHeaderSettings defined?
- How to execute WP shortcode in a javascript string “”
- how to include js in widget?
- JS files landing on page but not working, using childtheme of twentyeleven
- Enqueue script throws error in console
- PHP or JS for header image rotator?
- Replacing & in JS code on pages
- Passing object to FormTokenField suggestions
- How to Update a variable even if the web page reloads in js
- How do i get an Inline style in Gutenberg Block show up in front end?