# Amelia WP Booking Plugin is not loading using Local Server

**URL:** <https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886>\
**Category:** Support\
**Tags:** windows-10\
**Created:** [January 17, 2024, 12:38pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886 "2024-01-17T12:38:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [January 17, 2024, 12:38pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/1 "2024-01-17T12:38:19Z")

</div>

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.

I’m not adding any other info and pictures as this is pointless.  
Dev’s need to install this plugin and test it: [Booking for Appointments and Events Calendar – Amelia – Wtyczka WordPress | WordPress.org Polska](https://pl.wordpress.org/plugins/ameliabooking/)  
I’m sure it wont work so the question is why?

I was playing around with PHP versions but this doesn’t help.

Many thanks

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 18, 2024, 3:30pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/2 "2024-01-18T15:30:42Z")

</div>

Hi @Maryan

What errors are you seeing when you try to use this plugin?

Perhaps this thread would be helpful:

> [@Install Amelia Booking plugin : error 500](https://community.localwp.com/t/install-amelia-booking-plugin-error-500/27473/11):
>
> Hi @austinwendt It was the logs dated from yesterday when I carried out this test again. I barely used Local yesterday. My logs in local-lightning.log go all the way back Oct 2021. Do you want the whole file? Here’s all of of the logs from yesterday until now: {"localVersion":"6.4.0+5927","osPlatform":"win32","osRelease":"10.0.19044","osArch":"ia32","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2022-05-31T17:27:38…

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [January 18, 2024, 5:35pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/3 "2024-01-18T17:35:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 18, 2024, 5:43pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/4 "2024-01-18T17:43:54Z")

</div>

Hi @Maryan

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:

> **[Troubleshoot: Performance Issues](https://localwp.com/help-docs/troubleshooting/troubleshooting-performance-issues-in-local/)**
>
> Performance issues can be hard to fix! The best thing to do is zero in on where the slowness is occurring. Here are some suggestions to help set you up for success and ensure things are running as…

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 3, 2024, 12:12pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/5 "2024-02-03T12:12:46Z")

</div>

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.

```auto
{
    "name": "test-site",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
        "live": "npm-run-all --parallel sync start",
        "sync": "browser-sync start -p 'test-site.loc' --files '**/*.php' 'build/*.js' 'build/*.css'",
        "build": "wp-scripts build",
        "start": "wp-scripts start",
        "dev": "wp-scripts start",
        "devFast": "wp-scripts start",
        "test": "echo \"Error: no test specified\" && exit 1"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "dependencies": {
        "@wordpress/dependency-extraction-webpack-plugin": "^4.14.0",
        "@wordpress/scripts": "*",
        "animate.css": "^4.1.1",
        "aos": "^3.0.0-beta.6",
        "browser-sync": "^2.29.1",
        "lazysizes": "^5.3.2",
        "lodash": "^4.17.21",
        "node-sass": "^8.0.0",
        "normalize.css": "^8.0.1",
        "npm-run-all": "^4.1.5"
    },
    "devDependencies": {
        "browser-sync-webpack-plugin": "^2.3.0"
    }
  }

```

And here is a list of Plugins installed on site which is bare minimal:

- Advanced Custom Fields PRO
- Contact Form 7
- Amelia

And after all of those tests and changes the problem is still there, so I’m not too sure what else can I try as I have no more ideas right now.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 12:44pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/6 "2024-02-05T12:44:59Z")

</div>

Hello @Maryan -

Can you please provide more information about the site?

- Web server
- PHP version
- WordPress version

We need a little more information about the site so we can help you debug and see if we can replicate your issue.

Thank you,

Sam

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 5, 2024, 1:46pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/7 "2024-02-05T13:46:13Z")

</div>

Hi,

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:

```auto
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.

Many thanks.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 1:55pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/8 "2024-02-05T13:55:04Z")

</div>

Hello @Maryan -

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?

Sam

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 5, 2024, 3:02pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/9 "2024-02-05T15:02:04Z")

</div>

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:

[[https://1drv.ms/v/s!AvpKKF-U2QNjjtdFIxUt3L\_vMGUotQ?e=dPMqm5](https://1drv.ms/v/s!AvpKKF-U2QNjjtdFIxUt3L_vMGUotQ?e=dPMqm5)]([https://TestSite](https://TestSite) - Amelia Plugin Issue)

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.

Hope your are testing on Local no on your hosting 😃

Many thanks for helping me.  
Kind Regards

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 3:05pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/10 "2024-02-05T15:05:21Z")

</div>

Hi @Maryan -

Wow, I agree - that is slow! Yes, I am using Local, not hosting.

Hmm - have you looked at this thread with various tips about Windows performance optimization?

> [@Windows Performance Fix!](https://community.localwp.com/t/windows-performance-fix/34264):
>
> Hey guys, Create Local WP sites in a separate folder. Do not use the default folder (C:\Users\YourUsername\Local Sites) Sites running within the default folder are slow on Windows. They run lightning fast under any other folder. I hope this trick helps to end all performance issues for windows once and for all. I hope team fixes this bug in next release.

Let me know!

Sam

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 5, 2024, 3:20pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/11 "2024-02-05T15:20:39Z")

</div>

Thanks Sam,

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.

Many thanks Sam!

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 4:11pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/12 "2024-02-05T16:11:17Z")

</div>

Hi @Maryan -

Hmm…I know you mentioned perusing other threads with those who use that plugin and contacting their developers already.

I did find this thread from just 2 days ago on the TMS-Plugins (Amelia) forums:

> **[TMS-Plugins](https://tmsplugins.ticksy.com//ticket/3576372/)**

I’ll keep noodling but at this point, I’m coming up empty.

Sam

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 5, 2024, 5:34pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/13 "2024-02-05T17:34:15Z")

</div>

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.

Thank you  
Kind regards  
Maryan

---

<div class="post-metadata">

**Author:** ![Delano](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Delano](https://community.localwp.com/u/Delano)\
**Post date:** [February 5, 2024, 6:09pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/14 "2024-02-05T18:09:02Z")

</div>

I am having the exact issue right now, I’ve been scouring the web for solutions all morning. Funny that I ran into this and it’s such a recent thread.

---

<div class="post-metadata">

**Author:** ![Delano](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Delano](https://community.localwp.com/u/Delano)\
**Post date:** [February 5, 2024, 6:35pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/15 "2024-02-05T18:35:26Z")

</div>

I have found this, I am about to test it, maybe it will work for you @Maryan 🙂

> [@Install Amelia Booking plugin : error 500](https://community.localwp.com/t/install-amelia-booking-plugin-error-500/27473/13):
>
> Hi all, as i ran into the same issue, i started to investigate further into this. The issue is caused by using a non standard port for MySQL on LocalWP. The Amelia Plugin API Calls try to connect to the the database using the standard port 3306. Sadly, there is currently no easy way to set the port. The classes (SLIM Framework) used by amelia does have a variable for the port, but it’s not read / taken into account during the initialisation process of connecting to the database. This can b…

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 6:44pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/16 "2024-02-05T18:44:05Z")

</div>

Hi @Delano -

Please let us know!

Sam

---

<div class="post-metadata">

**Author:** ![Delano](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Delano](https://community.localwp.com/u/Delano)\
**Post date:** [February 5, 2024, 6:48pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/17 "2024-02-05T18:48:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 5, 2024, 6:53pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/18 "2024-02-05T18:53:31Z")

</div>

Hi @Delano -

Thank you so much for sharing that! Happy you’ve got everything working on your end again.

@Maryan if you want to give that a go, let us know if it worked!

Sam

---

<div class="post-metadata">

**Author:** ![Maryan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/maryan/32/15683_2.png) [@Maryan](https://community.localwp.com/u/Maryan)\
**Post date:** [February 5, 2024, 10:59pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/19 "2024-02-05T22:59:32Z")

</div>

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

Thanks, guys! 🤗

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 6, 2024, 2:15pm UTC](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886/20 "2024-02-06T14:15:10Z")

</div>

Hello @Maryan -

That is wonderful, so happy you got everything working, and thank you @Delano for sharing your answer.

Best,

Sam

[Next page](https://community.localwp.com/t/amelia-wp-booking-plugin-is-not-loading-using-local-server/40886.md?page=2)
