Hello,
Thank you for your token of appreciation!
Booking Activities is compatible with all browsers, adblockers, antiviruses…, otherwise, its a bug. I have also tried your site with all the browsers and all the devices I have, and it looked fine. You will need to ask your customers more information about their environment until you do reproduce the error.
You can ask them the following:
- Browser and its version (Chrome, Firefox, Edge, Internet explorer, Opera, Safari…)
- Operating system and its version (Android, iOS, Windows, OS X, linux…)
- If they have an error in their browser’s console:
- Open the browser’s console
- Refresh the page where the calendar should appear
- See if an error appears in the console
- If the calendar appears in the source code:
- Open the browser’s inspector (usually F12)
- Search for “.fc-view-container” in the html code (CTRL+F). Double check that the search is made in the page source code, not in the page itself.
- See if the calendar appears in source code
Tell me if you find something.
Regards,
Yoan Cutillas
Hello Yoan,
This morning I just reproduced the error. I just connected to the page without login in with Chrome on my Mac.
Here what I found in the console / Network / all on fbevents.js (which was on error – status failed):
Request URL: https://connect.facebook.net/en_US/fbevents.js
Referrer Policy: no-referrer-when-downgrade
Provisional headers are shown
Referer: https://www.ruedesmysteres.com/produit/jeu-de-piste-public-le-secret-des-canuts/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
And in the console (screenshot) :
https://ibb.co/bYXUen
Is Booking Activities trying to connect to facebook ?
Thank you for your help !
Laura
Hello,
Booking Activities has no relation to facebook. This error is triggered even when the calendar is properly display, then it is not related to our problem.
The error related to the calendar is the following
“Error occurs while trying to reload booking system. You are not allowed to do this.”
Can you reproduce this error each time you visit the page?
It is triggered when the nonce is not verified, or, in backend only, when the user doesn’t have the right to manage this calendar.
First, let’s double check that the problem comes from the nonce. Can you add this code to your (child) theme’s functions.php:
add_filter( 'bookacti_bypass_template_managers_check', function() { return true; } );
And tell me if it works?
Regards,
Yoan Cutillas
Hello @ruedesmysteres,
Do you need more help to troubleshoot your issue?
Regards,
Yoan
Hello,
I didn’t try your last answer. I will this week-end.
Laura
Hello Yoan,
One of my customer experienced the same issue yesterday.
I added the snippet to my child theme functions file and then it was ok.
Thank you for your help !
Best regards,
Laura
Hello Laura,
Actually, that is not what I expected.
If you cannot reproduce the error for sure, there is great chances that this code didn’t solve your problem.
I have removed the unecessary nonce that may have caused this issue in the new 1.5.2 version.
Can you update to 1.5.2 and remove the code I have provided you.
Then, let me know if the error occurs again.
Regards,
Yoan Cutillas
Hello Laura,
I will close this topic since everything seems alright since the update, but please feel free to open a new topic if you need more help.
Regards,