I currently have 2 problems. We have filled our event database with around 8 events a day for the coming year.
Question 1: Is it possible to hide unavailible or full events in the list overview? Currently they still show up in the list. So the user needs to go to page 10 to view the first availible events.
Problem 2: Due to the amount of events (i think), when i want to edit any page, no matter which one, the page does not load and results in a 500 error. (See attachment.).
1. At the moment, there's no way to hide these events but our developers are working on redesigning the Events List form, so hopefully there will be more options in the near future.
2. This is most likely caused by another plugin, but either way, the solution here would be to increase the memory on your website. You currently have around 268MB of memory on your site, and Amelia tried to allocate 0.012288 MB but it failed. So, what Amelia tried to pull is not even 1/10 of a Megabyte, but it failed.
Please reach out to your hosting provider and ask them to increase the memory to at least 512MB.
Why would the plugin need that much memory? We have dozens of webshops with thousands of products that don't need more than 256MB limit to run.
I have changed the limit to 512MB, but the result is the same. I think the plugin has a memory leak. Yes, Amelia tried to allocate 0.012288 MB, but i'm guessing that function gets called for every event. Thus resulting in a lot of memory when combined.
Is there any way to disable Amelia's function in the back-end? I only need the event overview...
In 90% of cases, the exhausted memory doesn't come from Amelia.
Can you please deactivate all other plugins except for our plugin, purge all cache, refresh the page, and see if it is resolved (it should be)? If it is, then start activating other plugins one by one, and after each activation refresh the page to see if the issue reoccurred. Once it does reoccur, you will have found the plugin causing the issue.
If you're still facing the issue even with other plugins disabled, that would mean that it's coming from Amelia, but I don't recall ever seeing that in the past.
There's no way to disable Amelia's functions in the back-end, but if you don't find a conflicting plugin, I'll reach out to our developers and see if there's anything we can do.
Thank you for your help so far. I cloned the website to do some testing, turned off all plugins and exactly the same issue still exists.
I hope you can get one of your developers to look at this, because i'm guessing this other people will have the same problem when they have a lot of events.
For the record, this website has over 3000 events. The front-end of the website is still blazing fast. But there is some soft of memory leak when trying to edit a page in the back-end.
I see. Once you're done testing the cloned website, could you send it to me so our developers can test it?
I just created a recurring event that repeats every day until December 31st, 2039 (6.126 events in total), and the back end still loads within 2 seconds.
That's why I have doubts this is coming from Amelia, but I can't be exclusive.
If you're sending us the login credentials for the staging site or the duplicator files, just make sure to enable the PRIVATE response, please.
Our developers took a look and, as I suspected, it's the number of events returned.
They said there are approximately 4.000 events returned as the query retrieves all future events from *TODAY*.
This is called in the back end, so you can choose to preselect an event in the shortcode. We will look into optimizing this in a future update, to work with a large number of events, but I can't provide you with an ETA on that.
For now, you can access the file ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/GutenbergBlock/GutenbergBlock.php and on line 223, you'll see this:
And it will pull only the events within the next month.
Please note that our developers already built the next update (6.2.2), so they won't be able to add this fix to it, but they will add it in 6.3. This means that, when you update Amelia to 6.2.2, you'll need to access the "GutenbergBlock.php" file and replace the line again.
Hello,
I currently have 2 problems. We have filled our event database with around 8 events a day for the coming year.
Question 1: Is it possible to hide unavailible or full events in the list overview? Currently they still show up in the list. So the user needs to go to page 10 to view the first availible events.
Problem 2: Due to the amount of events (i think), when i want to edit any page, no matter which one, the page does not load and results in a 500 error. (See attachment.).
URL: /wp-admin/post.php?post={POST_ID}&action=edit
I hope this issue gets resolved quicky, because we can't edit any pages at the moment.
With kind regards,
Mika de Bruijn
Attached files: Screenshot_1.jpg
Hello Mika.
Thank you for reaching out to us.
1. At the moment, there's no way to hide these events but our developers are working on redesigning the Events List form, so hopefully there will be more options in the near future.
2. This is most likely caused by another plugin, but either way, the solution here would be to increase the memory on your website. You currently have around 268MB of memory on your site, and Amelia tried to allocate 0.012288 MB but it failed. So, what Amelia tried to pull is not even 1/10 of a Megabyte, but it failed.
Please reach out to your hosting provider and ask them to increase the memory to at least 512MB.
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,
Why would the plugin need that much memory? We have dozens of webshops with thousands of products that don't need more than 256MB limit to run.
I have changed the limit to 512MB, but the result is the same. I think the plugin has a memory leak. Yes, Amelia tried to allocate 0.012288 MB, but i'm guessing that function gets called for every event. Thus resulting in a lot of memory when combined.
Is there any way to disable Amelia's function in the back-end? I only need the event overview...
Hi again.
In 90% of cases, the exhausted memory doesn't come from Amelia.
Can you please deactivate all other plugins except for our plugin, purge all cache, refresh the page, and see if it is resolved (it should be)? If it is, then start activating other plugins one by one, and after each activation refresh the page to see if the issue reoccurred. Once it does reoccur, you will have found the plugin causing the issue.
If you're still facing the issue even with other plugins disabled, that would mean that it's coming from Amelia, but I don't recall ever seeing that in the past.
There's no way to disable Amelia's functions in the back-end, but if you don't find a conflicting plugin, I'll reach out to our developers and see if there's anything we can do.
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 help so far. I cloned the website to do some testing, turned off all plugins and exactly the same issue still exists.
I hope you can get one of your developers to look at this, because i'm guessing this other people will have the same problem when they have a lot of events.
For the record, this website has over 3000 events. The front-end of the website is still blazing fast. But there is some soft of memory leak when trying to edit a page in the back-end.
Hope we find a solution.
With kind regards,
Mika de Bruijn.
Hi again Mika.
I see. Once you're done testing the cloned website, could you send it to me so our developers can test it?
I just created a recurring event that repeats every day until December 31st, 2039 (6.126 events in total), and the back end still loads within 2 seconds.
That's why I have doubts this is coming from Amelia, but I can't be exclusive.
If you're sending us the login credentials for the staging site or the duplicator files, just make sure to enable the PRIVATE response, please.
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,
I turned on advanced custom fields... You can login now.
Thanks,
Mika
We got the same problem with the newest version....
Hello Justin.
Please open a private ticket about this (if you haven't already), and provide us with credentials for your site, and we'll gladly take a look.
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,
As i said before. It's only when trying to edit a page. Take this page for example.
https://testing.braveau.nl/wp-admin/post.php?post=6816&action=edit
If you try to load the page, you will get a memory exausted error.
Understood, Mika, thank you.
I forwarded this to our developers yesterday, and I'll get back to you as soon as I hear from them.
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 Mika.
Our developers took a look and, as I suspected, it's the number of events returned.
They said there are approximately 4.000 events returned as the query retrieves all future events from *TODAY*.
This is called in the back end, so you can choose to preselect an event in the shortcode. We will look into optimizing this in a future update, to work with a large number of events, but I can't provide you with an ETA on that.
For now, you can access the file ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/GutenbergBlock/GutenbergBlock.php and on line 223, you'll see this:
Replace it with this:
And it will pull only the events within the next month.
Please note that our developers already built the next update (6.2.2), so they won't be able to add this fix to it, but they will add it in 6.3. This means that, when you update Amelia to 6.2.2, you'll need to access the "GutenbergBlock.php" file and replace the line again.
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 Aleksander,
Thanks for the help! Glad to see you guys found the issue. Hopefully this will prevent other people from having the same issue in the future.
With kind regards,
Mika de Bruijn
I hope so too, Mika.
Please let me know if you face any other issues.
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