Uncategorized
Generating a second MYSQL database for unit testing with Docker Compose
When working with PHPUnit I love to have a separate database to run tests in isolation. For best results, this also involves trying really hard to make sure my DB seeding is up to date and as robust as possible. When a project is seeded, it should provide all the…...
Read more →Uncategorized
Fixing Stripe a ‘IntegrationError’
On a recent project, I kept getting an IntegrationError when trying to integrate Stripe. Specifically when running stripe.createToken(card). "IntegrationError: We could not retrieve data from the specified Element. Please make sure the Element you are attempting to use is still mounted. To fix this there are two things you need…...
Read more →Servers, WordPress
Deploying to WP Engine from a GitLab pipeline – CI/CD
WP Engine is a very popular WordPress hosting platform, it has a lot of great features like super simple backups and auto staging site creation and replication. Sadly the methods available for deployment aren’t great. Out of the box you…...
Read more →Talks, WordCamp, WordPress
Speaking at WordCamp Brighton 2019
It was a great privilege to be able to speak at WordCamp Brighton this month. The talk was about the changes that Atomic Smash has had to go through to start using Gutenberg. I also spoke about what we as a team to prepare for the change before the…...
Read more →NGINX, Servers
Adding a Let’s Encrypt SSL to a redirection domain
We recently had to sort an SSL issue with a site that had been purely setup for handling redirections. For example, doing a global redirection from https://domainA.com to https://domainB.com during a company rebrand. This step is simple enough, the issue arises when Let’s Encrypt needs to re-validate and issue a…...
Read more →Talks, WordCamp, WordPress
Speaking at WordCamp Bristol 2019
UPDATE 19/06/19: The footage from the talk has been uploaded to WordPress.tv. It can be viewed here: https://wordpress.tv/2019/06/19/david-darke-gutenberg-how-a-wordpress-studio-adapted/ The talk I recently spoke at WordCamp Bristol 2019. Even though I have spoken at a number of local WordPress meetups, this was the first at the scale of a WordCamp....
Read more →Servers
Enabling HSTS
Some of our clients that use Semrush for website health auditing, have reported that HSTS is now a requirement for a site to be rated as 100% HTTPS verified: What is HSTS?...
Read more →WordPress
Hello internet!
After almost 8 years of not having a personal website, I’ve finally decided to get one spun up. Pretty mad for a web developer to not have a website right? So here is a little landmark, the first post on the day the site went live……...
Read more →