Posted: January 27, 2014 at 4:45 pm
|
Hello – I have a simple 4 event site in which I installed MER add on. Every time I add an item to my cart or update the ticket number (max set to 5), the site displays a loading image and takes a long time to load…sometimes does not even finish and I need to kill the page. Can you let me know what I am doing wrong? Thanks for your help – Mike |
Looks Like you have a Javascript error on your website that is preventing Multi Event Registration from working correctly:
Here’s a screenshot:
|
|
You might want to deactivate this plugin: |
|
|
Seth – |
|
Looks like something is injecting links to resources directly, instead of enqueueing resources, like they are supposed to. This is messing up ajax calls. <link href="../wp-content/plugins/plugin_edit_style.css" type="text/css" rel="stylesheet" media="screen"/> <link href="../wp-content/plugins/plugin_style.css" type="text/css" rel="stylesheet" media="screen"/> <link href="../wp-content/plugins/plugin_management_style.css" type="text/css" rel="stylesheet" media="screen"/> <script language="javascript" type="text/javascript" src="http://specialgiftstheatre.org/wp-content/themes/specialgifts/js/jquery-1.7.1.min.js"></script> <script language="javascript" type="text/javascript" src="http://specialgiftstheatre.org/wp-content/themes/specialgifts/js/jquery-ui-1.8.17.custom.min.js"></script> <!--<link type="text/css" href="../themes/specialgifts/css/jquery-ui-1.8.17.custom.css" rel="stylesheet" />--> <link type="text/css" href="http://specialgiftstheatre.org/wp-content/themes/specialgifts/css/jquery-ui-1.8.17.custom.css" rel="stylesheet" /> |
|
Hey Sidney – I not sure how to go about deciphering your last post. This MER is stating to be more problems than it is worth. From reading the other MER posts, seems like it has issues with site themes and inner workings that I am not prepared to fix. The total EE product is pretty smooth until the MER was implemented. If you can suggest some other areas that may be the cause, I would appreciate it….Mike |
Ya, the MER can prove to be very problematic when themes are not coded to the WordPress coding standards. From what I can see in the code Sidney posted above, your theme is loading JavaScript improperly, several times. That will not only break certain aspects of Event Espresso, but it will also produce errors when trying to use other plugins that are dependant upon JavaScript to function properly. |
|
You might want to get your theme developer involved and show these errors we posted. |
|
|
It’s not just MER, it’s anything that you want to use that uses ajax. They will all make a call to http://specialgiftstheatre.org/wp-admin/admin-ajax.php, which is a special location within WordPress. Nothing that you have installed, plugins or your theme, should be generating output when a request comes in to your site for that location except the plugin (or theme) for which that request is intended. That output above is being caused by whichever plugin(s) or theme owns the following files: plugins/plugin_edit_style.css plugins/plugin_style.css plugins/plugin_management_style.css themes/specialgifts/js/jquery-1.7.1.min.js themes/specialgifts/js/jquery-ui-1.8.17.custom.min.js themes/specialgifts/css/jquery-ui-1.8.17.custom.css themes/specialgifts/css/jquery-ui-1.8.17.custom.css We have seen a lot of themes from themeforest that do not play nicely with others by failing to follow WordPress best practices for theme and plugin development. Most of the time it is failing to wrap their jQuery within a no-conflict wrapper. Here it is failing to properly enqueueing scripts and styles. |
|
Hello All – I went ahead and backed up my site and deactivated each plugin until the MER worked. I found the troublesome one within the 20+ plugins installed. Luckily this plugin is not used anymore and can be deleted. Thanks to all of your help and your posts on this issue. |
It looks like whatever was changed on the website within the last 30 minutes has fixed the problem. I just tested the Multi Event Registration on your site and it is working as expected now. |
|
No problem! Thanks for the update. Can you please tell us which plugin was causing the conflict? |
|
|
I bet you guys will smile..we had a developer create a ticket management app that did not work too well. Thus the reason why we stumbled upon your site. Great tool and even better support. Thanks again for your help. |
🙂 |
|
The support post ‘MER Cart is Taking Too Long to Load…Minutes’ 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.