Support

Home Forums Event Espresso Premium Urgent – EE not working with AffiliateWP

Urgent – EE not working with AffiliateWP

Posted: August 20, 2016 at 4:47 pm

Viewing 21 reply threads


Cole Hatter

August 20, 2016 at 4:47 pm

EE is not currently working with AffiliateWP. With AffiliateWP activated, the entire checkout process breaks. It never initiates popups to proceed to registration, pay, or anything.

You have an integration with AffiliateWP so really hoping you can get this fixed…


Josh

  • Support Staff

August 22, 2016 at 6:46 am

With AffiliateWP activated, the entire checkout process breaks.

We haven’t seen this happen on our test sites. May I ask which version of AffiliateWP and Event Espresso you have activated on your site? It will help to know which other plugins are installed on your site as well.


Cole Hatter

August 23, 2016 at 8:11 pm

Hey Josh, both are current versions. AffiliateWP is version 1.8.7 and EE is version 4.9.8. Also using the following EE Add Ons: Barcode Scanner (1.0.9), Calendar (3.2.7), MER (2.0.9), People Addon (1.0.5), Paypal Payflow Pro (1.0.2 – NOT being used atm, but activated), Promotions (1.0.8), Stripe Gateway (1.0.14), and Ticketing (1.0.4).


Josh

  • Support Staff

August 24, 2016 at 8:28 am

So no other plugins then Cole? What this may be is your server is running low on memory, then when it tries to process a registration it just plain runs out and throws a PHP fatal error because it’s past its limit.

You can increase the amount of memory available for WordPress by following this guide:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

You can use an [FTP client][1] and [a text editor][2] to edit the site’s wp-config.php file:

[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors


Cole Hatter

August 24, 2016 at 9:43 am

Josh, yes, there are other plugins… you want me to list them ALL? I’ve already boiled it down to where the conflict is.

This is not a PHP memory limit. And we do not get any fatal errors – sorry, I should have clarified a bit on what was happening:

With AFfiliateWP activated, a user cannot get past the part of the registration where they add a ticket to their cart and proceed. It just refreshes the page and wont allow them to go any farther whatsoever. The modal pop up you guys have for moving to the next step never pops up.

When I deactivate AffiliateWP, it all works again.


Josh

  • Support Staff

August 24, 2016 at 9:56 am

That doesn’t explain why we’re not seeing the same issue on our sites, and really doesn’t get right down to the source of the conflict. For example, if there’s an AffiliateWP add-on activated, that’s throwing a JavaScript error which will affect the checkout process, the error will go away if you deactivate AffiliateWP. The conflict though, would not be because of AffiliateWP, it would be because the add-on.

Does the error occur if it’s only Event Espresso, MER, and AffiliateWP activated?


Cole Hatter

August 29, 2016 at 8:01 pm

Hey Josh, you are correct – with everything deactivated, it doesn’t work even.

I also tried switching each AffiliateWP extension plugin off one by one to see if any of them caused the hang up and they didnt’t. It still didn’t work.

Here’s what’s interesting though: It works in Internet Explorer, but not with Chrome and not with Firefox (FF with zero extensions/addons).

I also cleared all cookies and cache from Chrome, still didn’t work. Please advise?


Josh

  • Support Staff

August 30, 2016 at 4:20 am

You can check for JavaScript errors in the Chrome Developer Tools console, and/or one of Firefox’s equivalent consoles (like Firebug). You can also verify that it’s not the theme adding a script that’s throwing an error by using the theme test drive plugin.


Cole Hatter

August 30, 2016 at 1:46 pm

Hey Josh, here’s what I see:

jquery.js:4 Uncaught TypeError: Array.prototype.join called on null or undefined


Josh

  • Support Staff

August 30, 2016 at 2:57 pm

Does the error go away with another theme activated, with only Event Espresso and AffiliateWP activated?


Cole Hatter

August 30, 2016 at 3:21 pm

Tried that, enabled Twenty Sixteen and still doesn’t work.

I have disabled all plugins except AffiliateWP and EE with no luck, I have disabled the EE AffiliateWP extension and still no luck. I have removed all minifying and caching and reset theme cache and nothing.


Josh

  • Support Staff

August 30, 2016 at 3:39 pm

Can you identify which jQuery plugin is throwing the error in the console?


Cole Hatter

August 30, 2016 at 4:07 pm

Josh, this? http://attendthrive.com/wp-includes/js/jquery/jquery.js

That’s what is throwing this: jquery.js:4 Uncaught TypeError: Array.prototype.join called on null or undefined

Here’s the page: http://attendthrive.com/register/thrive2016-vip/

I’ll leave the AffiliateWP plugin activated for a bit while you take a look. Need to turn if off soon because we cannot accept registrations while its down obviously.


Josh

  • Support Staff

August 31, 2016 at 9:39 am

jQuery is the library, it’s the script or plugin that’s causing the error. Usually the Web Inspector will have a stack trace to show which script and line of code is causing the issue.


Cole Hatter

August 31, 2016 at 2:07 pm

Josh, I don’t know – I checked, and that’s what I see. Is this the extent of the support I get for being a valued customer? This is a SERIOUS issue and is an integration that EE promotes as WORKING.

I have done everything you’ve said, we’ve been able to determine that it isn’t theme related, it isn’t another plugin related, it’s not something out of date or anything of the sort.

Not to sound harsh, but to be blunt: I really need a solution, not a conversation. I don’t know what a stack trace is. What’s next?


Josh

  • Support Staff

August 31, 2016 at 2:32 pm

Hey Cole, it’s all working as expected on our test sites, if we could reproduce the error on one of those test sites, we would be able to identify the error and fix.

The way forward here is to find what’s causing the error, and a conversation is one way of finding information. I get your frustration, but so far we’ve got very little information to work with here. Do you have a test site set up where you can activate both plugins, where we can investigate there?


Cole Hatter

August 31, 2016 at 2:36 pm

Hey Josh, I haven’t set up a test site, but happy to provide access credentials to the site we’re having issues with if there’s a secure way of getting it to you.


Josh

  • Support Staff

August 31, 2016 at 2:44 pm

Troubleshooting on a live server is less than ideal, but you can send credentials via the secure form on this page:

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

September 1, 2016 at 9:20 am

So the error is coming from the tracking.js file from the AffiliateWP plugin. It looks like they’ve refactored the code in that file for version 1.8, so you could try the last stable release from the 1.7 version to see if that helps, which you can download here:

https://github.com/AffiliateWP/AffiliateWP/archive/1.7.18.zip


Cole Hatter

September 3, 2016 at 5:17 pm

Hey Josh, thanks for that suggestion – tried it but it didn’t work. Any other ideas?


Josh

  • Support Staff

September 5, 2016 at 4:12 pm

A developer from AffiliateWP will have a better idea on what’s causing the JavaScript error coming from AffiliateWP’s tracking.min.js file, and how to fix. Once that error isn’t being thrown anymore, the EE reg checkout page should work fine. Here’s a screenshot of the stack trace of the error from your site:

https://www.evernote.com/shard/s4/sh/877f720b-899c-430f-a90a-82bd7fb76046/8a7bc06ccda2e03f91be2b42dd7af454


Cole Hatter

September 5, 2016 at 9:58 pm

Hey Josh, looks like we have it resolved. We switched the URL variable from “ref” to “join” which was what was causing the javascript error. After changing back to “ref” all is working… that simple, AGH, I wish we knew on day 1 lol.

AffiliateWP said they are working on fixing this issue now. But just in case anyone else runs up against this issue, now you know. Thanks for all your help.

Viewing 21 reply threads

The support post ‘Urgent – EE not working with AffiliateWP’ 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.

Event Espresso