Home Forums Event Espresso Premium EE4 Mobile App Conflicts with Yoast SEO Plugin

EE4 Mobile App Conflicts with Yoast SEO Plugin

Posted: May 12, 2017 at 5:28 pm


May 12, 2017 at 5:28 pm


We were getting the EE4 Mobile App Message: “Connection Error. Unable to Load Data” and chased the problem down using these support threads:

Nothing worked, so we tried the old ‘turn off all plugins’ routine, and discovered that when Yoast SEO was off, we could access the app, as long as we had made the recommended .htaccess edits outlined in the threads above. When we turned Yoast SEO back on, the issue returned, and that was the case on both the development and production sites.

So, definite bug, and I’m seeing people have had previous issues with Yoast SEO in the past judging by the forums.

Currently, Yoast SEO is deactivated on the site, but we want to be able to turn it on, so it’s worthwhile figuring this out.

We’re running:

WP 4.7.2.
Yoast SEO version 4.7.1 (updated to latest, older version we were running conflicted too.)
EE4 Mobile App version 2.25
Event Espresso version 4.9.37.p.

I’ve also alerted the Yoast developers to the issue:



  • Support Staff

May 15, 2017 at 9:23 am

Hi there,

I run Yoast on multiple test sites without any problems with the apps so we’ll need to narrow this down some, it could possibly be an option within Yoast that you have enabled and I don’t.

Can you enable Yoast on the site and let me know when its active, please? I’d like test some of the requests with Yoast activated on your site.


May 18, 2017 at 1:17 pm

Yoast SEO is now activated. The site is If you need credentials for the back end, let me know – we can create a temporary user and handle the credentials via private email if you provide. Thanks.


  • Support Staff

May 18, 2017 at 1:35 pm

You can add the following to your site:

add_action( 'init', 'my_remove_yoast_api', 9 );
function my_remove_yoast_api() {
  remove_action( 'init', 'wpseo_init_rest_api' );

You can add the above to a functions plugin, then activate the plugin. The above should remove any conflict from Yoast unless there’s something else they’ve recently added that also conflicts.

Along with the above, can you follow up with the Yoast support thread?


May 18, 2017 at 2:39 pm

@josh, sorry to inform, the App is behaving exactly as before. This isn’t solving the conflict.


  • Support Staff

May 18, 2017 at 2:51 pm

Can you go and FTP in to your server and check the wp-config.php file? Is WP_DEBUG set to true or false?

If true, can you set it to false, then try the app again?

Along with that, it doesn’t look like you’ve followed up with the Yoast SEO support topic that you started. It will really be helpful if you can work with them since we do not know all of the ins and outs of the Yoast plugin and how it reacts with the WordPress REST API.


May 18, 2017 at 5:59 pm

DEBUG was already set to ‘false’ in wp-config. I’ve also updated the thread on the Yoast side.



  • Support Staff

May 18, 2017 at 7:57 pm

Can you check to see if the Attendee Mover add-on works as expected on your website? It also uses the WordPress REST API.

Along with the above, you can install the REST API Log plugin and that will log the requests from the EE app. Those requests may contain more error messages than what the app displays. The error messages may even point to a clue why you’re having troubles when the Yoast SEO plugin is activated.


May 31, 2017 at 9:54 pm

Besides the fact that I don’t appear to be getting notification emails for the test user I’m using (and that could be a different issue), the Attendee Mover add-on appears to be working as it should.

We also have the REST API Log running, and it appears to have captured my tests of Attendee Mover. Here’s the last log entry:

    "cookie": "wp-settings-793=editor%3Dhtml; wp-settings-time-793=1493766847; wp-settings-2=libraryContent%3Dbrowse%26wplink%3D1%26editor%3Dhtml%26urlbutton%3Dnone%26align%3Dcenter%26posts_list_mode%3Dlist; wp-settings-time-2=1495229814; __stripe_mid=b4bc0179-d841-402c-8364-53ae5661e431; PHPSESSID=8mhh8dtcqkar8p58ect2rsht52; _ga=GA1.2.460042602.1495832785; _gid=GA1.2.1972119159.1496287038; wordpress_logged_in_0d6bdcc63fd77fe7916ecf3a031bc893=Mark%7C1496459828%7CU4LNAbDMALrbblXFy3aHw5Qc39Nj4VIMnDAk8DRyqEK%7Ca62064f623685651a4bd2159f0c4a1a0c3e6e29cd61c5f2a1115637a9b087d8b; pmpro_visit=1; ee_cookie_test=592f8a013d347",
    "accept_language": "en-US,en;q=0.8",
    "accept_encoding": "gzip, deflate, sdch, br",
    "referer": "https:\/\/\/wp-admin\/admin.php?page=espresso_registrations&action=edit_attendee_selections&_REG_ID=20&edit_attendee_selections_nonce=42eb3f4400",
    "user_agent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/58.0.3029.110 Safari\/537.36",
    "x_wp_nonce": "48b32927c3",
    "x_requested_with": "XMLHttpRequest",
    "accept": "application\/json, text\/javascript, *\/*; q=0.01",
    "connection": "close",
    "host": ""



May 31, 2017 at 10:17 pm

Realized the last post was of response headers only… if more info is needed, I can post, but the short of it is that it appears that the REST API Log is capturing requests from EE4.


  • Support Staff

June 1, 2017 at 1:53 pm

That’s good. So what you can do is check the responses that get logged from the app when Yoast SEO is activated and compare the same from when Yoast SEO is deactivated.

The support post ‘EE4 Mobile App Conflicts with Yoast SEO Plugin’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 years, 3 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!