HI @pkbelgium,
That is really weird we removed any instances of this Error that were erroneously being thrown by users when using our Views V2 (Updated Views).
I would love to check with you on which page exactly you are getting this error from.
Would you mind helping me figure this out so we can fix this problem as soon as possible?
Best Regards,
Hi Gustavo,
Thanks for your help .
This is the web page : https://www.verviers-bridge.be/events/
And exactely the message :(I removed the special html characters to edit the message correctly)
28-Feb-2022 07:58:46 UTC] PHP Deprecated: tribe_get_view est strong obsolète /strong depuis la version 5.13.0 ! Utilisez On version 6.0.0 this function will be removed. Please refer to href=https://evnt.is/v1-removal https://evnt.is/v1-removal for template customization assistance. à la place. in /data/sites/web/verviers-bridgebe/www/wp-includes/functions.php on line 5316.
Best Regards.
Philippe.
-
This reply was modified 4 years, 3 months ago by
pkbelgium.
Hi @pkbelgium,
That is frustrating to hear, I am so sorry you are facing this problem still.
Would you mind running a conflict test for me?
https://evnt.is/kb-conflicts
If you cannot, please let me know and I will provide you with a way to disable.
best regards,
Hi Gustavo,
sorry but changing themes and stopping all plugins with the site online seems difficult: the site will be inaccessible for registrations and I will have complaints.
Here is the list of activated plugins:
iThemes Security
my shortcodes
Really Simple SSL
The Events Calendar
UpdraftPlus – Backup/Restore
WP Meta and Date Remover
WP-Optimize – Clean, compress, cache.
Yoast SEO
rem : my shortcodes is only a shortcodes pluggin that allows to introduce a hyperlink for the bridge results of Saturday or Monday (for example by loading a CSV file, it writes in the events the right dates this [macro_insert_event_kp date_of_the_day = “date of the day “]). There is no CCS inside.
You will understand what happens if you click on the date of January 31, 2022.
best Regards,
That is so interesting and annoying to see.
Ahh so i am going to debug it locally but since you are using Views V2 already, you can safely add the code on the end of the page below to prevent that notice from showing.
https://evnt.is/v1-notice-code
Let me know if it fixes the problem.
best Regards,
Hi Gustavo,
If I understand you well, you ask me to insert the following code at the end of the page events ? :
?php
add_filter( ‘tec_events_views_v1_should_display_deprecated_notice’, ‘__return_false’ );
Is this it?
How do I do it, the calendar page is not editable in html in WP ?
best Regards.
Hi @pkbelgium
Sorry I wasn’t very clear, you should be able to insert on this on your functions.php.
https://theeventscalendar.com/knowledgebase/k/best-practices-for-implementing-custom-code-snippets/
The article above should help you.
Best regards,
Hi Gustavo,
Here it is made I introduced the line of codes in the file function.php and good new, there is no more fault in the file debug.log since 1 hour.
I tried everything to reproduce the error in the file but impossible : the debug.log file remains empty.
I notice however something but I don’t know if it is related to the problem .
The date of the day which was in yellow before is now in black and I can’t change it anymore in “appearance”, “customize” “The events calendar”.
Best Regards.
-
This reply was modified 4 years, 3 months ago by
pkbelgium.
Hi Gustavo,
I confirm that the fault has disappeared for more than 12 hours.
For the moment I removed the automatic update on Events calendar and it is still in version 5.14.0.3.
Now, the question I ask myself is “What will happen when version 6.0 of Calendar is here?
Best Regards.
Philippe
So our goal is to remove all Legacy Views code, which means that if you really want to keep using Legacy Views you will have to not update to 6.0.0 once it live.
But that is at least a while longer (2+ months) away from how things are currently shaping up.
We have another huge improvement on performance about 60% to 70% improvements on database performance queued for version 6.0.0.
If you want more details the link below has a lot of information.
https://evnt.is/v1-removal
Best regards,