Support

Home Forums Event Espresso Premium Can't edit events after update to 4.8.25.p

Can't edit events after update to 4.8.25.p

Posted: November 30, 2015 at 9:35 am


Diane Kuhler

November 30, 2015 at 9:35 am

Everything seems to be working, but when I click on an existing event to edit it nothing shows up in the center area where you normally edit the event details and ticketing info.

Both the left navigation column and the right settings column seem to be fine

Chrome shows the following error on the page

admin.php?page=espresso_events&action=edit&post=5007&edit_nonce=13e40b098e:143

Uncaught TypeError: $(…).tabs is not a function

(anonymous function) @ admin.php?page=espresso_events&action=edit&post=5007&edit_nonce=13e40b098e:143

j @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2

k.fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2

m.extend.ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2

J @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2


Jonathan Wilson

November 30, 2015 at 10:27 am

Hi Diane,

Were there any other changes that were made when you updated EE? For example, did you update the theme or other plugins at the same time? This could be a theme or plugin conflict.

Try to rule out any plugin conflicts. Deactivate all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know this is the culprit.

Also, there may be a theme function that is causing the issue. You can check for this by first switching to the Twenty Fifteen theme (or any other theme from the wordpress.org theme repository, all of these themes pass a thorough code quality review before inclusion.)


Diane Kuhler

December 2, 2015 at 4:53 pm

Sorry could not work on it for a few days.

It appears to be a conflict between the WP REST API version 1.2.4 and Event Espresso MailChimp version 2.3.1p plugins

If I disable either the problem goes away. The issues started after I installed the WP REST and EE REST API plugins

Any advice on how to move forward?


Josh

  • Support Staff

December 2, 2015 at 5:39 pm

You might check for a php error in the error log. Usually if there’s trouble with the MailChimp add-on, there will be a fatal error right where the MailChimp List box is supposed to be output.


Diane Kuhler

December 3, 2015 at 8:22 pm

I have checked the hosting sites error log utility and don’t see anything. I am not 100% confident that it is telling me everything, but I am reasonably confident it is. I will dig around a bit more tonight and see if I can see anything else I really do need both plugins to work together. Any more suggestions?


Josh

  • Support Staff

December 4, 2015 at 6:13 am

I’m not confident that the hosting sites error log utility will catch the errors. I’d suggest setting up the WordPress debug logging feature. There’s instructions on how to set up logging here:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

While you’re editing the wp-config.php file, you can also bump up the amount of memory available for WordPress as well, that might help if your server is running low on memory.


Diane Kuhler

December 5, 2015 at 7:24 pm

[06-Dec-2015 01:52:18 UTC] PHP Notice: Undefined property: EE_MCI_Controller::$MailChimp in /wp-content/plugins/eea-mailchimp/includes/EE_MCI_Controller.class.php on line 428
[06-Dec-2015 01:52:18 UTC] PHP Fatal error: Call to a member function call() on a non-object in /wp-content/plugins/eea-mailchimp/includes/EE_MCI_Controller.class.php on line 428

  • This reply was modified 8 years, 4 months ago by  Tony. Reason: Removed server path


Tony

  • Support Staff

December 7, 2015 at 4:26 am

Hi Diane,

Can you check within Event Espresso -> MailChimp and confirm you have an API key saved there please?

This section – http://take.ms/C6pAQ

If so just re-save the settings there and test the event editor once again.


Diane Kuhler

December 7, 2015 at 9:08 am

There is an api key saved. It has a green check just like in the image you posted. I re-saved the settings on that page to no avail. Same thing happens when I try to edit an event


Josh

  • Support Staff

December 7, 2015 at 1:37 pm

Hi Diane,

We added some extra error-proofing in Event Espresso 4 core that helps with the configuration settings for add-ons like MailChimp. This was added in Event Espresso 4.8.26.p. Can you try updating to the 4.8.26.p version and let us know whether that helps your site?


Diane Kuhler

December 7, 2015 at 2:10 pm

No Change after upgrading to 4.8.26.p. If it would help I can arrange for you to have access to the site


Josh

  • Support Staff

December 7, 2015 at 2:21 pm

Sure that will help, you can send the information by completely filling out the form on this secure contact form page:

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


Josh

  • Support Staff

December 7, 2015 at 5:31 pm

Hi Diane,

I logged in, re-saved the MailChimp and Promotions add-on settings, and checked a few events and I’m not seeing any errors on the event editor pages. Can you log in as admin and check to verify?


Diane Kuhler

December 7, 2015 at 6:24 pm

Hi Josh. The problem is still there. You did not see it because I have been keeping the WP_REST_API plugin disabled unless I am testing. When I re-enabled the WP_REST_API plugin the problem comes back. I will disable it again because I need the Mailchimp plugin to work and to be able to edit events. Log back in and enable the WP_REST_API plugin and you can see/debug the issues


Josh

  • Support Staff

December 8, 2015 at 11:19 am

We can debug if we have file access. Can you include FTP access on the Send details form?


Diane Kuhler

December 8, 2015 at 12:26 pm

ftp credentials submitted


Josh

  • Support Staff

December 8, 2015 at 3:11 pm

Thank you.
It seems having the WP API plugin active is causing the curl request to fail… the curl error is Couldn't resolve host 'us9.api.mailchimp.com'

We’ll update you with any other information we find.


Diane Kuhler

December 11, 2015 at 9:17 am

Hi Josh

Are you guys still looking into this?


Josh

  • Support Staff

December 11, 2015 at 9:50 am

Yes. We suspect there’s a 3rd plugin which is getting triggered by the WP API, because we have the EE4 mailchimp addon and WP API active together with no problem on our test sites and are not seeing any issues.

On your site, is there a plugin that’s hooking directly into some sort of CURL hook (not the wp_remote_request hook, but CURL directly, because the MailChimp add-on doesn’t use wp_remote_request)? If so, this may be causing the DNS to go awry.


Diane Kuhler

December 11, 2015 at 10:04 am

As a test for this, I disabled all plugins except EE, and EE Mailchimp. Event pages loaded normally. I then enabled the WP_REST_API plugin and I could no longer edit events as we have seen


Josh

  • Support Staff

December 11, 2015 at 10:24 am

Is there any code anywhere on your site (not necessarily a plugin) that works with the WP_REST_API plugin? A related question, is there something that the WP_REST_API plugin is being used for on this site?


Diane Kuhler

December 11, 2015 at 4:12 pm

There is no other code. Its all pretty much stock wordpress. We are using WP_REST_API so we can use the EE_Rest_API plugin. We are tying to move away from WordPress but want to keep using EE but on more traditional pages


Josh

  • Support Staff

December 14, 2015 at 4:07 pm

Since you’re using the EE_Rest_API plugin, there must be some other code running to get EE info onto those traditional pages then right? Is there anything in that code that does a cURL call to your site that’s running WP? Have you tried troubleshooting from there?


Diane Kuhler

December 14, 2015 at 4:56 pm

We just installed the rest code last week. So far we are developing some js code from another server with queries to the production server.

Another piece of information. The server you are looking at is hosted by hostgator. I have another development server that I run. The same plugins are installed but I do not see the issue on that server. That server was largely set up using a backup of the production server. They are no longer exactly the same, but they have the same roots


Josh

  • Support Staff

December 15, 2015 at 8:12 am

Hi Diane,

It may help to contact Hostgator support to see if they can update the cURL library for that server. Another thing you can look into is item #2 from this post:

http://wpmarketing.org/2011/06/speed-up-wordpress-under-hostgator-shared-account/


Diane Kuhler

December 27, 2015 at 10:40 pm

Just FYI, I did a full backup and restore of the files and database from our production site to our development site and do not see the issue, so I am fairly certain the issue is with Hostgator’s server config somehow. I will pursue this with Hostgator at some point and try to address it with them. If I get a resolution I will post it here.


Josh

  • Support Staff

December 28, 2015 at 9:29 am

Thanks for the update.

The support post ‘Can't edit events after update to 4.8.25.p’ 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