Home › Forums › Calendar Products › Events Calendar PRO › Event Calendar PREVIOUS-NEXT features not working
- This topic has 26 replies, 4 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
March 17, 2016 at 5:29 pm #1090733
Joel
ParticipantHi,
This is a follow up to a reply – https://theeventscalendar.com/support/forums/topic/issue-following-upgrade/#post-1090391And the Update from Events Calendar 4.1: 4.1.0.1. has NOT fixed the issue.
Summary:
So… upgraded to all the latest versions of event calendar, and event tickets just 2 days ago. (follow up with update to 4.1.0.1)I’m noticing a few issues, but the one I need to immediately address is the event calendar PREVIOUS and NEXT functions.
This is in the LIST, MONTH, WEEK, and DAY feature.If I click on any of these previous-next (e.g. In the March MONTH view, click on February or April links), I just get the ajax spinning wheel, and the page freezes.
IF I am logged into the site as admin, these features work.
FYI.. the same page “freeze” occurs if I click the “Find Events” button at the top.
if it helps or not… couple other issues:
– no drop-down calendar when I click in the “Events in” on the search bar
– when I resize the window in the month view, the days of the week do NOT go to the short version as they should with the bootstrap datepicker strings
– the week view, when I scale down the window size, or view on mobile, there are no events showing, just the previous/next linksThanks…looking forward to a response.
…Joel
March 18, 2016 at 3:43 am #1090844Brook
ParticipantHowdy Joel,
Thanks for so clearly detailing everything. Sorry this is giving you troubles.
I have some good news, it is likely you will fix all of these issues at once we find the cause. They seem to all stem from a JavaScript error.
When I tried those steps on your site I get the following error:
<b>Warning</b>: in_array() expects parameter 2 to be array, boolean given in <b>/home2/dcggroup/public_html/durangolearns.com/wp-content/plugins/event-tickets/common/src/Tribe/Admin/Notice/Archive_Slug_Conflict.php</b> on line <b>49</b>
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home2/dcggroup/public_html/durangolearns.com/wp-content/plugins/event-tickets/common/src/Tribe/Admin/Notice/Archive_Slug_Conflict.php:49) in <b>/home2/dcggroup/public_html/durangolearns.com/wp-content/plugins/the-events-calendar/src/Tribe/Template/List.php</b> on line <b>137</b>
That’s not an error I have seen before. It likely stems from a “conflict”. In order to proceed we will need to test if a conflict is happening, and if so narrow it down so we can find a fix for it. This guide walks you through how to test for a conflict, and then identify what is conflicting.
Does that all make sense? Please let me know.
Cheers!
– Brook
March 18, 2016 at 4:58 am #1090880Richard Conway
ParticipantHi,
I’m having the exact same problem as described here. I would appreciate any information anyone is able to give as this plugin has always worked previously with my theme and plugins and only had an issue on most recent update. I have less plugins than I used to and don’t use plugins unless they are widely used and popular so this is likely to be affecting many people I would imagine.
Gary
March 18, 2016 at 5:01 am #1090881Richard Conway
ParticipantJust to follow up that I have updated to latest version of plugin and still not working. I will deactivate some plugins to test and report back if I find anything but feel this needs urgent attention since I don’t really use many plugins on my site and those I do are very well known so this is likely to affect many users.
Gary
-
This reply was modified 10 years, 1 month ago by
Richard Conway.
March 18, 2016 at 8:09 am #1090972Joel
ParticipantSo… ran through the steps in http://tri.be/support/documentation/testing-for-conflicts/
Still getting the same result.
So…next steps?
– this is a live site… but… if we are on the phone together… I can perform these steps to set to base level, and then you can test
– where are you showing these errors? I’m showing the console in firefox… but can’t see where you are seeing those specific error messages
– this issue is pretty much a show stopper for this plugin… as it’s rendering the feature of looking up events pretty much useless.As Gary mentioned… all was working well until my latest updates.
Help?
…joel
March 18, 2016 at 8:14 am #1090977Joel
ParticipantThis reply is private.
March 18, 2016 at 11:55 am #1091125Joel
ParticipantThis reply is private.
March 18, 2016 at 12:03 pm #1091126Brook
ParticipantHowdy Joel,
Good question. I am seeing those errors in the Ajax response. So I first open up firebug, then I click < Prev Events, then I switch to Firebug’s network tab which should now have an Ajax query to wp-admin-ajax.php. When I inspect that response you can see an error message generated by your server.
Could you try adding the following code to your theme’s functions.php file:
if ( class_exists( 'Tribe__Admin__Notice__Archive_Slug_Conflict' ) ) { remove_action( 'admin_init', array( Tribe__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) ); }That might fix things in this case.
Gary thanks for chiming in with something you expect to be related. To clarify, the symptoms Joel is experiencing are very common. Anything at all that breaks Ajax of JavaScript, and there are truly countless things in WordPress that break those, will manifest the exact same symptoms. But 99% of the time the root problem is different, the symptoms are merely the same. It’s sort of like the common cold. With that in mind, are you seeing the same error message as Joel:
Warning: in_array() expects parameter 2 to be array, boolean given in …/wp-content/plugins/event-tickets/common/src/Tribe/Admin/Notice/Archive_Slug_Conflict.php on line 49
Or, do you just have similar symptoms? If it’s just similar symptoms would you mind opening up your own topic dedicated to your issue, that way we can help you with your specific problem? One thing I would do first though before opening it up is finish the conflict test. If it is a conflict, especially with a popular plugin, it will help us narrow things down so we can begin working on a solution instead of steill hunting for the source.
Let me know if you guys have any followup questions in the mean time. Cheers!
– Brook
March 18, 2016 at 12:07 pm #1091127Brook
ParticipantThis reply is private.
March 18, 2016 at 1:00 pm #1091155Joel
ParticipantOK…
so that suggestion to alter the functions.php file worked on the Month, Week, Day views, but NOT on the LIST view.
If I choose previous/next on the list, same ajax issue. And if I click the “Find Events” on this “LIST” view, same thing.
I’ll leave the alteration to the functions.php in place, but any thoughts on the LIST, as this is really my primary view into the events offered.
I am looking at firefox firebug, but I am NOT an expert in that arena… by any means.
Thank you.
March 21, 2016 at 6:23 am #1091721Brook
ParticipantWell that’s some good progress.
I have inspected your site again and am seeing the same thing. The original error message that also affected list view is now gone. Excellent! That means that we solved one problem, and are now facing a new one.
We now need to start diagnosing the second problem now that the first one is fixed. I hate to ask this but I must, can you redo the conflict test now? I know you already did it once, but at the time we were facing the other issue as well so the test did not tell us everything. Now it will work at isolating the source of this second problem.
Please let me know if you have any questions. Cheers!
– Brook
March 21, 2016 at 9:02 am #1091818Joel
ParticipantOk… did the conflict test again.
Same results… no plugins active except the events calendar plugins, and twenty fifteen theme.
In fact… had to add in the change to the functions.php just to get the views working in the twenty fifteen theme (still had same issue with the LIST view not working).
So… stuck at this point… LIST view still not working.
Have reset back to working site with plugins, and my theme.
Help?
…joel
March 21, 2016 at 2:18 pm #1092035Joel
ParticipantThis reply is private.
March 22, 2016 at 8:42 am #1092357Brook
ParticipantHowdy again,
Thank you for the very thorough debugging, Joel. It’s very helpful to know what happened at each step.
Would you mind installing the Debug Bar on your website? With that active and while still logged in, can you try paging back and forth to see if it shows any errors? The errors will be in the upper right.
Could you also double check that you do not have any pages or posts which contain the word “classes” in the slug or title. Do you?
Would you be willing to share a copy of your database with us so we can try to reproduce this locally?
Thanks again for working with us on this. Sorry it’s proving to be so difficult to narrow down.
- Brook
March 22, 2016 at 10:09 am #1092471Joel
Participantso…
I added the debug bar to the website, enabled WP_DEBUG… did not see any errors being thrown… but not being familiar with that plugin… I might not have been using it correctly. It also altered my theme header layout for the general, so I couldn’t leave it running.
I DID have “classes” as part of the slug for my list of classes (go figure)… but I have since renamed to use “events”. No change there… still doesn’t work on “LIST” view.
So… I can share a copy of the database with you… do you have an FTP site to upload to?
I see lots of discussion around this similar issue, outside of my thread, so obviously I’m not the only one seeing this. Any progress with other folks?
FYI… still seeing the other issues I’d mentioned at the top of this thread.
any thoughts on these?—————
if it helps or not… couple other issues:
– no drop-down calendar when I click in the “Events in” on the search bar
– when I resize the window in the month view, the days of the week do NOT go to the short version as they should with the bootstrap datepicker strings
– the week view, when I scale down the window size, or view on mobile, there are no events showing, just the previous/next links -
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
- The topic ‘Event Calendar PREVIOUS-NEXT features not working’ is closed to new replies.
