Posted: February 16, 2014 at 5:57 pm
|
Hi, I am currently using – I receive this error whilst on the checkout page: This error only appears when using my theme, and not on the TwentyFourteen theme. However I cannot see any difference in HTML/Imported scripts that would cause this error. Thanks. |
|
Can we get a link to check it out? Do you have this set up on a dev site? |
|
Sorry @Sydney it is on a dev environment |
|
Hi Martin, If it is on a development server it is hard for us to pinpoint the issue. As you said it only occurs on your theme and not in a default theme, I would suggest looking at the javascript in the theme. One area to look at is whether there are multiple instances of jQuery and what version of jQuery is being loaded (1.10.1 is the one that ships with WP 3.8) |
|
I will link you when the website is placed on the staging server. Thanks for the suggestions! |
|
No problem |
Object [object Object] has no method ‘eeInputValue’ That error means that there is something wrong with one of the form inputs on the registration checkout page, because eeInputValue() is a function for retrieving the value of a form input. Your theme most likely has some JavaScript of it’s own that is attempting to modify the form inputs in some way, but is instead damaging them to the point that EE’s JavaScript no longer recognizes them as form inputs. Look for form inputs (questions) that have code or html spilling out around them on the page. As well, if you can tell us what theme you are using, and it is freely available for download, then we can test it to try and identify the conflict. |
|
|
I have no JS that modifies the inputs on any page. I am working on a completely custom theme. Here’s a link to download the theme: |
|
*moderated*
|
Hi Martin, I couldn’t get this theme to activate until after I fixed the theme’s comment header lines in style.css. Once I got it to install the issues are fairly straightforward: 1) You should not register another copy of the jQuery library. It’s best to only use the version that ships with WordPress. With that, you do not really need to enqueue jQuery if you make your main.js file dependent on jQuery. WordPress will do the rest. Suggested code changes to functions.php: a) remove the additional jQuery library that’s being registered and enqueued. wp_register_script('lt3_main', LT3_FULL_SCRIPTS_PATH . '/main.js', array( 'jquery' ), 0.1, true); 2) The first part of main.js isn’t written to be in jQuery no-conflict mode. Here’s a suggested code change: // main.js (function($) { $(function(){ $.stellar(); });;// plugins.js })( jQuery ); Here are a few references that may help: http://codex.wordpress.org/Function_Reference/wp_enqueue_script |
|
The support post ‘[EE4] Checkout page JS error’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.