Hi, On a website that has been working for a long time without problem we now have a problem with FullCal & WPML. The problem is solid and is just present when not logged in. When a user is logged in, the calendar is displayed properly.
We have a bilingual site French is L1 and primary and English is L2. The calendar translate properly. But the eventcards in English, if we are not logged in, are shown in French. You can see it at https://sutton.ca/en.
The shortcode we use is: [add_eventon_fc show_et_ft_img=”no” ft_event_priority=”yes” load_fullmonth=”no” lang=”L2″ evc_open=”no” jumper=”yes” mo1st=”yes” heat=”no”]
Here is what we have done to try to solve this:
Thank you for your help.
Apr 21,2017 AT 1:55PM - 4 years ago -I would like to also note that the “Jump Month” button is also missing in English when not logged in but present when logged in. In French (primary language) it is there as usual.
Juts checked and the event card is showing up in English. Seems to be woring.
Check the screenshot.
I like problems that go away without having anything to do. Thanks for that.
The Jump to month button is still not showing in English. Could you have a look at that too.
tx
Claude
Give us complete url to admin login page. It looks like it is hidden at the moment.
Just want to let you know that we are back this morning with the French event card in the English full cal.
Tx
Ok this is strange. I don’t know if you are working on this subject, but now the JUMP MONTHS button is back in English but the event cards on the English side are showing in French if I’m not logged in (if I’m logged the they show in English).
Hi,
If this happens all by itself and only when you are either logged in or out, this could not be an issue caused by our plugin.
So, change the theme temporarily, disable all other plugins and check once.
OK. What I understand is that you are saying that your plugin in conflicting with another one or with the theme.
I’ve supplied you the access credentials, have you looked at the site?
This is a local government site so I cannot legally do what you ask in any other way than to create a staging site for just this purpose. I can easily supply you with the debug.log file if it helps. But at this point you are asking a lot without any proof that it is not your plugin that is causing the conflict and without confirming me if you did the basic verification in the site with the login credential I supplied.
FYI I did put the site in debug and I got this:
[27-Apr-2017 18:30:29 UTC] PHP Notice: Undefined index: L2 in /home/sutton/public_html/wp-content/plugins/eventON/includes/class-calendar-body.php on line 40
[27-Apr-2017 18:30:29 UTC] PHP Notice: Undefined index: L2 in /home/sutton/public_html/wp-content/plugins/eventON/includes/class-calendar-body.php on line 41
Please send us FTP access to your site as a private message, so we can perform several tests from our end and resolve your issue fast!
Any news? The ticket has been opened for 2 weeks now. We would like to solve this as soon as possible.
Thank you!
Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!
Sorry about the delay it seems the L2 data is empty.
Please fill in that information and that should get the errors taken care of. If you dont want to fill in english i would recommend using L1 as english and L2 as other language.
Hi Ashan,
I just did what you asked and it changed nothing. Just to be clear, L1 = French, L2 is English.
The problem is just present in English when not logged in.
When I’m logged I get the right display.
And remember that the plugin is generating these errors:
27-Apr-2017 18:30:29 UTC] PHP Notice: Undefined index: L2 in /home/sutton/public_html/wp-content/plugins/eventON/includes/class-calendar-body.php on line 40
[27-Apr-2017 18:30:29 UTC] PHP Notice: Undefined index: L2 in /home/sutton/public_html/wp-content/plugins/eventON/includes/class-calendar-body.php on line 41
Ok so here is whats happening eventON is not 100% compatible with WPML and we have not advertised as it is compatible. But I am going to make this a feature request ticket so we can add this compatibility for eventON. It will not be an immediate code change to do what you require but it will be in the future updates.
I’m just curious since it worked up until a few weeks ago (for probably the last 2 years when we put this site online) and it currently still works when I’m logged in. So something must have changed recently for it to not work anymore. No?
I dont know how it could have loaded. Because WPML create 2 event versions for english and french and that corresponding evnet have to be loaded on L2 calendar and we dont have any codes in place to do that. That is what I am proposing to be added into eventon in the future update
Yet it still works if we are logged in… try it you will see. You do not get the same results when logged in and not logged on…
Yes I see if as well, that is why i am not sure how that happens. I am almost done with the language correspondent part and let me do some more tests and copy that eventon version to your site via FTP and we will see how that would work with your set up 🙂
Any news on this?
the new eventon is out with language correspondance code so you should be able to use that. it was released several weeks ago.
Is there any documentation that explain what I should do different since I still have this problem and don’t see any change? Again the problem is only present with FullCal and only to user that are not logged in.
I do see that the language is set properly in the backend but I still get on the English version (L2) the French event.
OK So we are back with this since it is not solved but we did see something that we missed the first time.
So FullCal & WPML… If a user is logged then FullCal works without flaw. Not logged in if you click on a date with an activity of the second language calendar the the activity is shown in the wrong language.
Here is the new part: If you just switch from L1 to L2 (in our case French to English), and if there is an event displayed in the FullCal for that day it will display just fine (even if your not logged in) as long as you don’t click on the calendar.
I hope this help getting this issue resolved.
Tx