I'm experiencing an issue with the Amelia Booking plugin on a custom WordPress dashboard for students. When integrating the Amelia shortcode ([ameliacustomerpanel appointments=1 events=1]) into a student dashboard page template, the Amelia interface fails to load correctly. Instead, it gets stuck as an SVG and the console logs the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
I have tried troubleshooting on my end, including checking for plugin conflicts and compatibility issues, but the error persists.
Screenshots are attached.
If it helps, I use WPEngine hosting; its aggressive caching could possibly be contributing to this issue.
Your assistance with resolving this issue would be greatly appreciated.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
We would need an URL of that page where this happens and please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
The "Chunks" generate new files with new hash every time you make changes in the Customize section (especially for 1.0 forms).
It's usually reset when you access Amelia/Customize/Booking Forms 1.0 and simply hit "Save". I did that, but it failed to fix the issue. I did a bit more digging around, but the error is still the same.
I know managed WP support hesitates purging the cache completely, but can you ask them to do this and let me know if that helps?
I tried to purge cache on a WPEngine Managed site and it failed to fix the issue. It's only when their support flushed all cache on the site when it started working.
We've just released a new update, though, with some fixes included, so please try updating the plugin first, purge the cache again, and see if that works.
If not, reach out to WPEngine's support and ask them to flush all cache on the site and then let me know. If it doesn't work, we'll engage our developers.
Thanks for your continued support. WPEngine support flushed the cache comprehensively for me, though the issue seems to persist still. We've updated the plugin to the new version also, though to no avail unfortunately.
Any assistance on how to remedy this would be highly appreciated.
When our developers checked the page, they saw there was a 301 error - moved permanently.
Adding permissions for the "Student" role with our customer doesn't help, so they asked if you can clone your website.
If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.
The Duplicator plugin can export only up to 500MB of data, so if your site is bigger than that, please use the All-in-One WP Migration plugin.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Also, since this is a public ticket, make sure to enable the PRIVATE response when sending us the files.
This works now - thank you so much. Full marks to yourself and the dev team for such fantastic customer support. I'll be in touch should I require anything else. Best wishes,
Dear Support Team,
I'm experiencing an issue with the Amelia Booking plugin on a custom WordPress dashboard for students. When integrating the Amelia shortcode ([ameliacustomerpanel appointments=1 events=1]) into a student dashboard page template, the Amelia interface fails to load correctly. Instead, it gets stuck as an SVG and the console logs the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
I have tried troubleshooting on my end, including checking for plugin conflicts and compatibility issues, but the error persists.
Screenshots are attached.
If it helps, I use WPEngine hosting; its aggressive caching could possibly be contributing to this issue.
Your assistance with resolving this issue would be greatly appreciated.
Attached files: amelia-1.png
amelia-2.png
amelia-3.png
Hello Thomas,
Thank you for reaching out to us.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
We would need an URL of that page where this happens and please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Looking forward to your reply.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi team,
Any update on this ticket?
Best,
Thomas
Hello Thomas.
Sorry for the delay, Marko is out of the office so it took some time for us to reach his tickets.
This is most likely caused by cache, as you mentioned earlier.
The error is coming from here: https://optlearn23.wpengine.com/wp-content/plugins/ameliabooking/public/js/chunks/amelia-booking-cabinet-b13b4e211a60ce461b52.js
The "Chunks" generate new files with new hash every time you make changes in the Customize section (especially for 1.0 forms).
It's usually reset when you access Amelia/Customize/Booking Forms 1.0 and simply hit "Save". I did that, but it failed to fix the issue. I did a bit more digging around, but the error is still the same.
I know managed WP support hesitates purging the cache completely, but can you ask them to do this and let me know if that helps?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
Thank you for your reply, and there's no need to apologise.
I've reset all supposed caches through my WPEngine portal interface, as demonstrated through the attached screenshot.
The issue persists, however. Would the user-directed cache purges comprehensive enough? Or should I log a support ticket?
Thanks,
Tom
Attached files: Screenshot 2023-05-31 at 00.03.21.png
Hey Tom.
I tried to purge cache on a WPEngine Managed site and it failed to fix the issue. It's only when their support flushed all cache on the site when it started working.
We've just released a new update, though, with some fixes included, so please try updating the plugin first, purge the cache again, and see if that works.
If not, reach out to WPEngine's support and ask them to flush all cache on the site and then let me know. If it doesn't work, we'll engage our developers.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
Thanks for your continued support. WPEngine support flushed the cache comprehensively for me, though the issue seems to persist still. We've updated the plugin to the new version also, though to no avail unfortunately.
Any assistance on how to remedy this would be highly appreciated.
Best regards,
Tom
Hey Thomas.
I can't see what's wrong here. The ticket's been forwarded to our developers, so as soon as I hear from them, I'll get back to you.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Thomas.
When our developers checked the page, they saw there was a 301 error - moved permanently.
Adding permissions for the "Student" role with our customer doesn't help, so they asked if you can clone your website.
If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.
The Duplicator plugin can export only up to 500MB of data, so if your site is bigger than that, please use the All-in-One WP Migration plugin.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Also, since this is a public ticket, make sure to enable the PRIVATE response when sending us the files.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Thomas.
There is some custom code on your child theme that generates this issue with Amelia auth.
We added an if statement that doesn't redirect the admin-ajax API call if a user is logged in.
in:
function of your active theme functions.php file.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
This works now - thank you so much. Full marks to yourself and the dev team for such fantastic customer support. I'll be in touch should I require anything else. Best wishes,
Tom
You're welcome, Tom.
Glad I could be of assistance.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables