Marinus Klasen

Marinus Klasen

  • WordStress
  • Development
  • Consultancy
  • Developer Resources
  • Blog
  • Contact

Export Mailgun logs using the Mailgun API

December 15, 2021

API export mailgun PHP Postman

Sometimes there’s just no other way. You need to gather information about e-mails that were sent, but your application just doesn’t have the logging available. In this case, Mailgun does have the information stored that we need, but how do we extract it? Using the Mailgun API Mailgun doesn’t allow us to export logs/events using […]

Continue Reading

Docker fails to connect with archive.ubuntu.com

November 15, 2021

Upon launching a new docker-compose setup, my Dockerfile suddenly had issues installing some packages, showing errors like: It took me some time to figure out what was happening, but this Medium post got me in the right direction. Somehow, when building, docker fails to run DNS queries. Debugging: what causes this? We can test the […]

Continue Reading

Populating an ACF dropdown with forms from Gravity Forms

November 9, 2021

No need to explain, let’s dive into code!

Continue Reading

Fix for upload folder is not writable in WordPress after importing database

November 9, 2021

I don’t think it ever took me so long to fix a permission issue in a WordPress development environment. I checked my docker-compose file. I logged into to the containers to confirm I could write as the web user. It was all good. The issue? There was a database entry that defined a custom path […]

Continue Reading

Using ssh-keygen

November 9, 2021

Need an SSH keygen quickly? Here’s the command for you. Copy this, and add your e-mail address after like this: “email@domain.com” (with quotation marks) Full command: After, you can just hit the “ENTER” key a couple of times, unless you want to set passphrases for your keys. (this is usually only the case for high […]

Continue Reading

VS Code: Do you trust the authors of this folder?

November 9, 2021

Every single time I open a new project VS Code asks me if I trust the authors. It’s kind of annoying, since in 99% of the cases I am the author. Aside from that, it requires me to click a button with my mouse. Disable author check Luckily, it’s possible to disable this author check: […]

Continue Reading

VS Code showing errors for functions in WordPress core?

November 8, 2021

I literally got used to Visual Studio code highlighting function names from WordPress core when working in environments that don’t include the WordPress Core files. Quite disturbing actually – especially when you have code sniffers setup and follow WordPress Coding Standards. Well, today I noticed it again and did some research. Apparently, there’s an easy […]

Continue Reading

Importing a database from the command line

November 5, 2021

Error: Failed to get current SQL modes. Reason: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (13) In the example above, I couldn’t get wp db import (WP CLI) to import a database since a different mysql.sock was used. The solution We can use the mysql command to import the database […]

Continue Reading

Setting PHP versions in Deployer deployments

November 1, 2021

Sometimes your terminal environment (where you SSH into) uses a different PHP version then that you need. Most hosting companies do have several PHP versions available. But how do you use them, and more importantly, how do you set the right one when deploying new versions with Deployer? The errors you can run into In […]

Continue Reading
  • « Previous Page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 12
  • Next Page »

Get in touch

Contact me using the details below

Marinus Klasen

Wilhelmina van Pruisenweg 35, 2595 AN Den Haag

marinus@mklasen.com
twitter.com/marinusklasen
linkedin.com/in/marinusklasen

  • GitHub
  • LinkedIn
  • Twitter

Have you read?

  • Running Github Actions and Workflows LocallyAugust 25, 2025
  • Elementor Widget UsageMarch 27, 2025
  • Programmatically showing popups with ElementorMarch 25, 2025
  • The Elementor sanitize_settings errorSeptember 12, 2024
  • Announcing.. Wooping Shop Health!June 13, 2024

Copyright © 2025 ยท Marinus Klasen | Webdesign by Team Rood