Home › Forums › Calendar Products › Events Calendar PRO › Help–this is what landed on my page after I updated!
- This topic has 4 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
December 3, 2015 at 4:56 pm #1035158
Jennifer Wilder
ParticipantAfter I updated the plugin to 4.0, which went fine, the whole events calendar is crazy.
http://midwestfiberartstrails.org/wp-content/uploads/2015/12/Modern-tribe-problem.jpg
Recently, I’ve had quite a few issues with this plugin. It started after I updated a couple months back. For the first time, I’ve even had users complain to me that they can’t see future events. I have used this plug in for almost 700 events in the past two years. It’s important to me, but a seamless interface with my community is more important.
Please help me figure this out. Thank you so much.
JennyDecember 4, 2015 at 12:47 am #1035270Brook
ParticipantHowdy Jenny,
I am sorry you are seeing errors on your site. That is likely stemming from a third party plugin, or perhaps your theme, not being compatible with version 4.0 of The Events Calendar yet. You have two options:
- Find what is not compatible, and then report it to the author of that plugin or theme. This guide walks you through how to test for a conflict, and then identify what is conflicting. Once you know what it is report it to the author and wait for them to release an update that fixes it. Or if you don’t want to wait you could then do the next option as well.
- Downgrade the plugins to version 3.12.x while you wait on the author of the other plugin, or your theme, to release an update.
I really wish that we could have avoided this error altogether. But in WordPress it is simply not possible for interdependant plugins to always be compatible with each other. When one updates the other must update too, and we are not always on the same update schedule. We do absolutely everything we can to notify other plugin and theme authors about upcoming updates, and work with them to get updates out. Further we try to limit the needs for those updates, and when they are necessary group them all into major versions (like the jump from 3.x to 4.x). But even still sometimes errors will crop up. It’s just the nature of WordPress.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
December 4, 2015 at 6:49 am #1035509Jennifer Wilder
ParticipantI checked with twenty fourteen before I submitted the help ticket. I tried to check twenty sixteen but I am not running WordPress 4.0 yet. The thing is, I’ve run the same plug-ins previously and things worked well until recently.
December 4, 2015 at 2:43 pm #1035780Brook
ParticipantHowdy Jenny,
Thanks for giving that a whirl. I was able to determine the cause of this a short while back, and test out a solution.
The warnings are generated because text was input into the Event Cost field instead of a number. Perhaps you were in 3.11 or under version of the calendar when you added this event, and instead of typing a number into the field text was input instead. Or, sometimes this happens when importing an event via CSV and you set the Event Cost field to a string of text instead of a number.
To fix this you will need to find all events which have text in that field and change them to a number. To do this enmasse you can run some MySQL commands, perhaps from PHPMyAdmin. To get a list of all events which have this issue you could run the following SQL in your WordPress database:
SELECT * FROM wp_postmeta WHERE meta_key=’_EventCost’ AND meta_value!=” AND concat(”, meta_value * 1) != meta_valueYou could then edit them on a case-by-case basis. If you wish to convert many of these at once you can run some SQL update commands. For instance the following will change everywhere that the word “Free” was typed in to the Event Cost field to the number 0, since 0 is treated as free in The Events Calendar.
UPDATE wp_postmeta SET meta_value=’0′ WHERE meta_key=”_EventCost” AND meta_value=”Free”If you wish to instead remove the cost value from all of the problem events, run this:
UPDATE wp_postmeta SET meta_value=” WHERE meta_key=’_EventCost’ AND meta_value!=” AND concat(”, meta_value * 1) != meta_valuePlease note, there is always some risk with running SQL commands on your database. It is always a good idea to make a database backup before dabbling with your data.
You can avoid MySQL entirely ig you prefer, especially if there are only a few events affected. Just edit those events, scroll down to the cost field, and change it to a number. Hit save, and the event is fixed.
Again I am sorry for the errors. Does that make sense? Please let me know.
- Brook
February 18, 2016 at 8:32 am #1075949Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Help–this is what landed on my page after I updated!’ is closed to new replies.
