Conflict with Membermouse

Hi there,
Hope you guys can help me with this issue, I've been having a conflict problem, CoursePess with Membermouse.

PROBLEM: Every time an expired member try to log in they are supposed to be redirected to a core page from membermouse, instead users are getting an AJAX ERROR as you can see below.

I've talked to Membermouse and they came to the conclusion that is a conflict, CoursePress with Membermouse, when they activate the Safe Mode letting just Membermouse running all works good, when they activate CoursePress problem appears.

Could you guys help me out with this matter? I have the support access activated so you can check.

[AJAX ERROR] Incorrect response data :<!DOCTYPE html>

<html lang="en-US">


        <meta charset="UTF-8">

        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Custom Login | Native Portuguese Courses</title>

        <link rel="profile" href="">

        <link rel="pingback" href="">

        <link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />
<link rel="alternate" type="application/rss+xml" title="Native Portuguese Courses &raquo; Feed" href="" />
<link rel="alternate" type="application/rss+xml" title="Native Portuguese Courses &raquo; Comments Feed" href="" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/\/images\/core\/emoji\/2.2.1\/72x72\/","ext":".png","svgUrl":"https:\/\/\/images\/core\/emoji\/2.2.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/\/wp-includes\/js\/wp-emoji-release.min.js?ver=3381a19414ebedd7e1c8ff4cf6f1534f"}};
			!function(a,b,c){function d(a){var b,c,d,e,f=String.fromCharCode;if(!k||!k.fillText)return!1;switch(k.clearRect(0,0,j.width,j.height),k.textBaseline="top",k.font="600 32px Arial",a){case"flag":return k.fillText(f(55356,56826,55356,56819),0,0),!(j.toDataURL().length<3e3)&&(k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,65039,8205,55356,57096),0,0),b=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,55356,57096),0,0),c=j.toDataURL(),b!==c);case"emoji4":return k.fillText(f(55357,56425,55356,57341,8205,55357,56507),0,0),d=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55357,56425,55356,57341,55357,56507),0,0),e=j.toDataURL(),d!==e}return!1}function e(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i,j=b.createElement("canvas"),k=j.getContext&&j.getContext("2d");for(i=Array("flag","emoji4"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		<style type="text/css">
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
<link rel='stylesheet' id='advanced-responsive-video-embedder-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='columns-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='font_awesome-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='front_general-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='front_enrollment_process-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='membermouse-jquery-css-css'  href='//' type='text/css' media='all' />
<link rel='stylesheet' id='membermouse-main-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='membermouse-buttons-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='membermouse-font-awesome-css'  href='//' type='text/css' media='all' />
<link rel='stylesheet' id='wtwp-font-awesome-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='testimonials-sp-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='testimonials_slick_style-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='testimonial-rotator-style-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='font-awesome-css'  href='//' type='text/css' media='all' />
<link rel='stylesheet' id='coursepress-style-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='coursepress-responsive-navigation-css'  href='' type='text/css' media='all' />
<link rel='stylesheet' id='google_fonts_lato-css'  href='//' type='text/css' media='all' />
<link rel='stylesheet' id='google_fonts_dosis-css'  href='//' type='text/css' media='all' />
<link rel='stylesheet' id='sccss_style-css'  href='' type='text/css' media='all' />
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript'>
/* <![CDATA[ */
var cp_vars = {"admin_ajax_url":"https:\/\/\/wp-admin\/admin-ajax.php","message_all_fields_are_required":"All fields are required.","message_username_minimum_length":"Username must be at least 4 characters in length","message_username_exists":"Username already exists or invalid. Please choose another one.","message_email_exists":"E-mail already exists or invalid. Please choose another one.","message_emails_dont_match":"E-mails mismatch.","message_passwords_dont_match":"Passwords mismatch.","message_password_minimum_length":"Password must be at least 6 characters in length.","minimum_password_lenght":"6","message_login_error":"Username and\/or password is not valid.","message_passcode_invalid":"Passcode is not valid.","message_tos_invalid":"You must agree to the Terms of Service in order to signup.","debug":"0"};
/* ]]> */
<script type='text/javascript' src=''></script>
<script type='text/javascript'>
/* <![CDATA[ */
var front_vars = {"withdraw_alert":"Please confirm that you want to withdraw from the course. If you withdraw, you will no longer be able to see your records for this course.","units_archive_url":"https:\/\/\/custom-login\/units\/"};
/* ]]> */
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript'>
/* <![CDATA[ */
var MemberMouseGlobal = {"jsIsAdmin":"","adminUrl":"https:\/\/\/wp-admin\/","globalurl":"https:\/\/\/wp-content\/plugins\/membermouse","checkoutProcessingPaidMessage":"Please wait while we process your order...","checkoutProcessingFreeMessage":"Please wait while we create your account...","checkoutProcessingMessageCSS":"mm-checkout-processing-message","currencyInfo":{"currency":"USD","postfixIso":false,"n
  • Adam Czajczyk
    • Support Gorilla

    Hello Philipe,

    I hope you're well today and thank you for your question!

    It seems that you are using version of CoursePress plugin which is quite outdated and may be causing issues, especially when used with newest release of WordPress and other plugins. I can see that you posted in other threads and stated that when you first upgraded to the 2.0 version it caused problems.

    Since 2.0 release there's been four big updates published tho and a a great amount of issues has been fixed. I would suggest giving it a try and if it still doesn't work with Membermouse we would then dig deeper.

    If you would rather not take a risk, you could use a staging site for a "test update". Such a site should be a "one to one" copy of your current site and you can use for example the Duplicator plugin to create it:

    If an update goes fine on staging site, you could then create a backup of your live site (just in case) and perform an update there. If it fails, we would be able to investigate it using the staging site too. We could also make use of it in order to find out about Membermouse and CoursePress conflict.

    Would you give it a go, please?

    If you have any additional questions, let me know please.

    Kind regards,

  • Philipe
    • The Incredible Code Injector

    alright !! I will give another try, it would be cool if you guys had a video showing the new features, screenshots, etc.
    I will warn the site's members about the update.

    I wil be getting in touch with you again pretty soon, I hope is to give the news that everything is working perfectly!! =)


  • Adam Czajczyk
    • Support Gorilla

    Hello Philipe!

    I hope this time it will go as expected for you. I would however really suggest giving it a try on staging site first. It's just safer and in case any issues occurred we would be able to investigate and diagnose them and it would also help with totally safe Membermouse issue troubleshooting.

    If any issues still occur after that update, let me know please and we'll work with you further.

    Kind regards

  • Philipe
    • The Incredible Code Injector

    Hi Adam,

    I updated the website but now any page I go on the front end it's blank. that's the log in page link - (blank screen) ,

    I granted support access so you can take a look, I already sent an email to the members alerting about this update and that the website could be unstable for a few hours.
    I appreciate if you take a deep look on this since I've been trying to update CoursePress for a while.

    not one page is working on this domain -

    thanks in advance.

  • Dimitris
    • Support Star

    Hey there Philipe,

    hope you're doing good and don't mind chiming in! :slight_smile:

    in case I have to restore a backup should I restore just the database and plugins/coursepress/ ? What folders apart from Coursepress that will be changed in this update?

    Considering CoursePress, you won't need anything more than the actual files (/wp-content/plugins/coursepress/) and the database tables.

    I have some layout problems, and functionality problems as well. Check the screenshots attached for details.

    I was checking on the mobile version and the menu above the video with ¨Units¨, ¨Discussions¨, ¨Workbook¨ is not appearing, plus the video size is not responsive anymore.

    As these issues aren't inside the scope of this thread, and as we're keen on having separate threads per issue, could you please create a new thread about these? A representative from our support team will be in touch with you as soon as possible.

    Warm regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.