WordPress and Git Workflow

I know this question has been asked a thousand times, but I’m really trying to work out how to get the best out of Git when working with WordPress. I’ve scoured the web and read dozens of articles, all that seem to cover the topic briefly. Here’s a few of the most notable one’s I’ve … Read more

Trigger Plugin database update after git pull

I have a couple of WordPress websites that I’m maintaining. The websites are on various git repositories (one for each site) with individual remotes. Currently when there is a plugin update available etc I do the following: Sync up “non git” content (wp-content/uploads and database) with my local machine (if it has been a while … Read more

Deploy WordPress From Local Docker to Hosting Provider

I’ve seen articles that teach how to migrate WordPress into Docker containers (see also here). I want to do the opposite. I am already running WordPress locally via Docker on my Windows 10 laptop. I want to migrate my local (containerized) WordPress instance into a hosted provider (e.g. WP Engine, GoDaddy, Bluehost, etc.). I don’t … Read more

Causes of getting a java.lang.VerifyError

I’m investigating the following java.lang.VerifyError java.lang.VerifyError: (class: be/post/ehr/wfm/application/serviceorganization/report/DisplayReportServlet, method: getMonthData signature: (IILjava/util/Collection;Ljava/util/Collection;Ljava/util/HashMap;Ljava/util/Collection;Ljava/util/Locale;Lorg/apache/struts/util/MessageRe˜̴MtÌ´MÚw€mçw€mp:”MŒŒ at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) It occurs when the jboss server in which the servlet is deployed is started. It is compiled with jdk-1.5.0_11 and I tried to recompile it with jdk-1.5.0_15 without succes. That is the compilation runs fine but … Read more

How to deploy correctly when using Composer’s develop / production switch?

Composer has the option to load several dependencies only while being in development, so the tools will not be installed in production (on the live server). This is (in theory) very handy for scripts that only make sense in development, like tests, fake-data-tools, debugger, etc. The way to go is to add an additional require-dev … Read more