Support

Home Forums Event Espresso Premium EE3: Recurring Event glitch affectng Add New Event

EE3: Recurring Event glitch affectng Add New Event

Posted: September 25, 2015 at 3:17 pm

Viewing 7 reply threads


mnbookarts

September 25, 2015 at 3:17 pm

Hello EE team! A month or so ago, we began creating events for each of our fall classes. We haven’t had any trouble with EE before, it’s been working great for over a year, and the Fall listings were going fine too, until we created a new Recurring event. We’ve used Recurring Events before with no trouble. But this time something glitchy must have happened, because since then, whenever we go to “Add New Event,” several weird things are happening. The “Event Times” start and end fields are pre-populated* with times (6:00pm – 9:00pm) rather than blank, and there are many many dozen sets — “Start 1”, “Start 2”, “Start 3”, all the way to “Start 80”! A similar issue is happening with the Event Pricing fields: the fields are pre-populated with data, and there are several dozen sets (“Name 2” through “Name 119”, though there aren’t 119 of them, the numbering jumps around).

* The data that is being pre-populated is the same data that we would have used in that last Recurring Event. But the number of time and pricing options is way beyond what we used, then or ever.

I have made sure all automatic updates are done; no fix. This issue doesn’t seem to be affecting any of the pre-existing events, and no issues with registration, only when we try to Add a New Event. For now, the workaround I’m using to add new events is to duplicate an existing event and change the event details; that is working fine, no bizarre mega-multiple fields or anything like that.

Tips/thoughts? Anything short of a full re-install, since we’ve already programmed several hundred events all the way through next spring? 🙂

Thanks very much!

Sample screenshots:
http://www.mnbookarts.org/wordpress/wp-content/uploads/2015/09/mcba_ee_error_screenshot1.jpg
http://www.mnbookarts.org/wordpress/wp-content/uploads/2015/09/mcba_ee_error_screenshot2.jpg


Lorenzo Orlando Caum

  • Support Staff

September 26, 2015 at 3:25 pm

Hello,

The issue that you are seeing could be caused if you tried to use an old version of Event Espresso 3 with the current version of WordPress. Earlier this year, there were a series of security releases for WordPress and we released updates to Event Espresso 3 to maintain compatibility.

Here is how to get back on track:

1) Backup your WordPress site including the database (https://eventespresso.com/wiki/how-to-back-up-your-site/)

2) Deactivate Event Espresso through the Plugins screen in your WP dashboard

3) Login to your database using a tool like PHPMyAdmin

4) You’ll be making changes to three database tables:

wp_events_start_end
wp_events_prices
wp_events_category_rel

Go ahead and locate the wp_events_start_end database table and click on it. Then click on the event id column to sort and you’ll see some rows that have 0 (zero) for the event id. Remove only these rows that have 0 for the event id.

5) Locate the wp_events_prices database table and click on it. Then click on the event id column to sort and you’ll see some rows that have 0 (zero) for the event id. Remove only these rows that have 0 for the event id.

6) Locate the wp_events_category_rel database table and click on it. Then click on the event id column to sort and you’ll see some rows that have 0 (zero) for the event id. Remove only these rows that have 0 for the event id.

7) Return to your WordPress dashboard and then reactivate Event Espresso 3 along with its add-ons.

Let us know if this helps.


Lorenzo


mnbookarts

September 29, 2015 at 8:03 pm

Hi Lorenzo — this worked perfectly, thanks very much for the thorough step-by-step instructions! I tested it and Add New Event seems to be working just fine now. HOWEVER, in the process, our Event List views have lost their featured image thumbnails. (Example: http://www.mnbookarts.org/adult/ — each event’s featured image used to display to the left of the event description.) I can’t imagine that’s related at all to the work I just did to the database, BUT I did also make sure all updates to the plugins were done. Is it possible that by updating the plugin files I overwrote some change I made to make the featured image thumbnails visible? Or somehow by deactivating and then reactivating the plugin files? I didn’t make any other changes.

I searched through the support forums and the most common culprits seemed to be:
1) Template Settings — so I made sure that the setting is turned on in the Template Settings options.
2) Upload issues — but I’ve already addressed that with the “default image link = file” link solution you guys have posted numerous times.

Thoughts? Everything seems to be working, but it’s important that we get those photos visible again, and I’m stumped.

Thanks again!


Tony

  • Support Staff

September 30, 2015 at 12:51 am

Hi there,

It looks like you are using a custom template for the event list, have you modified the default templates within /plugins/event-espresso/templates/ to do this?

When you update, did you do so via FTP? Replacing the main plugin files but not the templates?


mnbookarts

September 30, 2015 at 8:02 am

Hi Tony — when I updated I simply used the Update links within the WP plugins menu below each EE component that needed updating. (We had let our key lapse so there were several.)

I designed the site almost 2 years ago so to be honest I can’t remember what exactly I did. So I figured it would be easiest to work backwards from what might have gotten overwritten in yesterday’s update. I do have a local copy of all of the PHP files pre-update, so I will compare my archive copies w/ the live copies and see if I can spot the edits that way. I will start with the directory you suggest. I do remember one specific edit, to coerce some code to keep the event description from wrapping around the image, so we would have images aligned left and the text all inset from those on the remaining 3/4 (or so) of the screen to the right. Any suggestions where that edit would have to be made? That might help me narrow down which files are impacted.
Thanks!


Tony

  • Support Staff

September 30, 2015 at 8:53 am

If you’ve updated through the dashboard the EE files within the plugins directory will be the default files.

Can you go to /wp-content/uploads/espresso/templates/ and see if there are any files there? (It doesn’t appear so but I just want to double check)

If you enable WP_DEBUG do you see any error messages on the event list?

IF you add a feature image to a standard post does that display?

Is this a custom theme? If not did you also run updates on the theme when updating EE?


mnbookarts

September 30, 2015 at 10:30 am

Hi Tony — that was it! Three files (event_list.php, event_list_display.php, shopping_cart.php) were in /uploads/espresso/templates/ of my local backup, but no longer on the live site. Uploading them solved the issues, everything looks back to normal again. Might updating the Custom Templates plugin, or deactivating it and then reactivating it, have cleared that subdirectory? Otherwise I’m not sure why those files would have disappeared. In any case, everything looks like it’s running fine now.

Thanks again to you both!


Lorenzo Orlando Caum

  • Support Staff

September 30, 2015 at 1:34 pm

Thanks for confirming that things are working correctly.

I’ll update your support post to resolved. If you need help with anything else, then please create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

Viewing 7 reply threads

The support post ‘EE3: Recurring Event glitch affectng Add New Event’ 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