Hey everyone!
With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:
Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.
We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.
In the meantime, if you need help, feel free to:
-
Use the support widget on the bottom right of our websites (Amelia and wpDataTables) — our AI-powered assistant is available 24/7 and can help with many common questions.
-
Visit our documentation, articles, or YouTube channels for quick answers and step-by-step guides.
https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos
https://www.youtube.com/@wpDataTables/videos
Thank you for being so understanding, and we hope you enjoy the long weekend!
Hi there,
I am using Masterstudy LMS plugin in my website. I want to add booking features to my website and Amelia plugin fits my purposes very well. However, I can not use the backend pages of Amelia (just blank page) due to the below error. If I deactivate Masterstudy LMS plugin, I can use the pages. Obviously, this is not a true solution to me.
I need to know if this can be resolved quickly before purchasing Amelia. Thanks in advance!
All the best,
Esad
Here is the error.
FYI, pages loaded when I removed "
S.prototype.$http=a.a,S.prototype.$http.defaults.headers.common={"X-Requested-With":"XMLHttpRequest"}," from amelia-booking.js under .../wp-content/plugins/ameliabooking/public/js/backend.
Hi Esad,
Thank you for your interest.
For front-end, you need to go to ../wp-content/plugins/masterstudy-lms-learning-management-system/lms/enqueue.php
For bank-end ../wp-content/plugins/masterstudy-lms-learning-management-system/wp-custom-fields-theme-options/metaboxes/metabox.php
If the page where Amelia is, is named "Booking", the code you need to enter is:
In both files replace this line:
and replace it with
So it is important that !== 'booking'
is the name of the page you have created.If the page name is "XYZ", that code will be !== 'XYZ'
Hope this helps!
Hi Nevena,
Thanks for your response! I did the change for frontend and it worked. However, I can not find the code including "wp_register_script..." in the ../wp-content/plugins/masterstudy-lms-learning-management-system/wp-custom-fields-theme-options/metaboxes/metabox.php for backend. There is a very similar one starting with wp_enqueue_script in this page. So I changed it in the same way but it did not work. Besides that, I am not sure if this is the correct way for backend since I have not created backend pages and so I have not named them. They are default pages of Amelia plugin such as Dashboard, Calendar, etc.
Please advise at your earliest convenience.
Best,
Esad
Hi,
Please go to ../wp-content/plugins/masterstudy-lms-learning-management-system/wp-custom-fields-theme-options/metaboxes/metabox.php and find this line of code:wp_enqueue_script('vue.js', $base . 'js/vue.min.js', array('jquery'), $v);
Replace that line with this:if (substr(get_current_screen()->id, 0, 6) !== 'amelia') {
wp_enqueue_script('vue.js', $base . 'js/vue.min.js', array('jquery'), $v);
}
And save the file.
So, for backend it is not wp_register but wp_enqueue
Please, in order to get full support you need to verify your license and open the ticket in Amelia Category with your purchase code. This is necessary since many are trying to misuse our support. This is the pre-purchase category reserved for those who didn't purchase the plugin yet. Thank you for your understanding.
Hi,
Thanks for your quick response! This new code worked and now I can access Amelia related pages at the backend.
Again, thank you for your help! I will purchase a license once I verified Amelia is working for me.
Best,
Esad
Thanks, Esad!
Have a nice day.