I’m developing sites for years using Local but only Amelia Booking Plugin is not working correctly on this server. It works perfectly in hosting environment but totally not loading using Local server.
Hi thanks, but there is no errors. The plugin is working but very slow the main dashboard is loading 10 min or sometimes infinitely. All works super slow. Only this plugin causes this kind of behaviour. I’ve contacted Amelia plugin developers but they advised to contact Local
There is no errors at error.log so I have no idea what is causing this… Can anyone install this plugin and test it please?
The problem is the plugin seems to work fine for other users so it might be something specific to your install or site. If it’s just performance issues you could try some of the suggestions mentioned here:
Well… Thanks for your replay but I’m not too sure about that.
Is this statement based on the fact that there is no other reports like this one or someone actually test the plugin and was able to determine that there is no problem as mentioned in my post?
What I have done:
I’ve turned off Xdebug (it makes entire WP a bit faster but problem with plugin is stil there)
I’ve removed all sites from Local
I’ve uninstalled Local
Installed Local on other SSD drive than the system one
I have moved “Local Sites” to the same drive where I’ve installed Local
Removed node_modues folder and install the packages again.
Installed fresh WP and only installed Amelia plugin nothing else and the problem is still there.
I’ve checked all other sites and they are all working fine and fast until I add WP Amelia plugin
No errors in browser console
no errors at the log files
Below is my package.json showing not minimum packages list for my dev environment.
Thank you for your answer.
To be honest version of WP or PHP doesn’t change anything.
I’m currently on PHP 8.0.0 but I was on the latest and it is the same so downgraded to see if this makes any difference but no.
WP latest 6.4.3 version
WebServer: nginx
I’ve gave you last time my package.json file content and here is my webback.config.js file content:
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
const BrowserSyncPlugin = require('browser-sync-webpack-plugin')
module.exports = {
...defaultConfig,
plugins: [
...defaultConfig.plugins,
new BrowserSyncPlugin({
// browse to http://localhost:3000/ during development,
// ./public directory is being served
host: 'localhost',
port: 3051,
proxy: 'http://test-site.loc/'
})
]
};
As you see it is basic setup for Browser Sync nothing fancy.
The entire setup is minimal.
Please install Amelia plugin and see if it works and loads all tabs fast especially the dashboard.
I spun up a brand new Local site, made no modifications, and added no other themes or plugins, added the Amelia plugin, and I’m not seeing any noticeable speed issues.
When you open the Amelia dashboard or the various tabs how long are you waiting for things to load?
Me to just created fresh site no node or other dev stuff installed just fresh Amelia Plugin.
So fresh WP and fresh plugin installed and it works like on video attached below:
As you see it loads pretty badly wit no data. So, imaging when the data is in DB how it works.
When the same is done on hosting the plugin is lightning fast. NO waiting time at all all pages loads instantly.
So looking at your note it looks like you are testing this on Mac, it only proves to me that Windows is really bad for development.
Regarding Windows as you can imagine, as a developer I’m running on pretty optimal settings and never had any issues. I tried docker and Amelia works there lightning fast but docker is too complicated for me I never had time to dig into docker. With Local I have a pretty good workflow which has been ruined by Amelia plugin recently
If you have any news regarding this issue I would be super happy.
No offence for that lady but she is just Amelia user and I doubt she is an experienced developer.
They are talking about hosting environment which is totally different thing.
I’ve spent hours with Amelia support and they always sending me back. I have customers with a pretty large Amelia database tables and on hosing environment it works flawlessly.
However as I showed you on the video on a fresh WP installation where only Amelia plugin is installed the speed is terrible. And there is nothing that can cause this rather than Local server itself.
Hi @sambrockway, I am confirming that this fix worked for me. Once you update the wp-config.php file to accommodate this non-standard port, everything works fine. The non-standard port is found under the “Database” tab of the site in Local. The only thing is that, if there is another plugin that specifically uses a the default port 3306, it might create issues for said plugin.
At least for me, I am able to continue developing to prepare the site for production since the plugin works completely fine in that environment. I hope you won’t have any issues @Maryan
OMG @Delano! You are a genius! You saved my day and the frustrations I had over the past few weeks with Amelia support. Thanks so much; everything works perfectly now, I can confirm.
So, it seems that this is Amelia’s fault. I will speak to them as they brushed me off so many times! Their support is terrible in terms of knowledge about their own plugin. @sambrockway, thank you as well for such a great and quick response to my thread.
And @Delano, adding some development settings for us would be nice, as I can’t see any other option. However, I’m fine with your solution, but I might write a small plugin that takes the port number and updates all files at one click when I have some time.
What software did you used to find out the requests that Amelia did to DB. Thanks