Disable WordPress Cron wp-cron and Activate External Cron Jobs

WordPress has a built-in cron task scheduler known as wp-cron. This cron scheduler can be used to perform various tasks at predetermined intervals, such as creating scheduled backups, publishing scheduled posts, checking for updates, and running plugin tasks. However, wp-cron can sometimes cause performance issues, especially on high-traffic websites. However, there is a way to … Continue reading “Disable WordPress Cron wp-cron and Activate External Cron Jobs”

Update procedures for Ubuntu Server, Nginx and MySql

These update procedures contain only essential information and best practices for updating a running ubuntu server and keeping the downtime low. Ubuntu 16.04.6 to Ubuntu 18.04 Backup – If you use a cloud hoster like digitalocean, create a snapshot. It’s recommended to power off the VM before creating the snapshot for keeping file integrity. If … Continue reading “Update procedures for Ubuntu Server, Nginx and MySql”

WPML error due to missing index: Table wp_options is filled up with multiple entries of wpml_translation_services

One of our users was running WP Staging Pro alongside WPML (inc. translation management) on a couple of websites. On one, in particular, pushing the staging to live site using WP Staging Pro immediately causes the wp_options table to fill up with entries with the wp_name of ‘wpml_translation_services‘. As soon as these were deleted, no … Continue reading “WPML error due to missing index: Table wp_options is filled up with multiple entries of wpml_translation_services”

Linux & Docker Commands Reference & Troubleshooting

We’ve published these commands for our developers for reference purposes. They are publicly visible as it might be helpful for other developers as well: Docker #stop all containers: docker stop $(docker ps -a -q) # Restart docker service sudo systemctl restart docker.service Recreate all container docker-compose up –build –force-recreate –no-deps #stop all containers by force … Continue reading “Linux & Docker Commands Reference & Troubleshooting”

Change Language Collation of all mySQL Database Tables

If the language collation of your production and staging site database server is different you can use the MySQL query below to create a new query that allows you to change the language collation of all database tables at once. SELECT CONCAT(“ALTER TABLE “, TABLE_SCHEMA, ‘.’, TABLE_NAME,” COLLATE latin1_general_ci;”) AS ExecuteTheString FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA=”DATABASE_NAME” AND … Continue reading “Change Language Collation of all mySQL Database Tables”

Revolution Slider X Theme Record not found

Did you install the X Theme by theme.co and got the message “Record not found” after installing the demo content or activating the slider revolution plugin? A bug causes this in the X Theme WordPress theme, which you can resolve very quickly. The reason for that issue is that X Theme expects at least one previously … Continue reading “Revolution Slider X Theme Record not found”

Serialized Data, What Does That Mean And Why is it so Important?

Note: This article is for people interested in how WordPress technically stores its data. If you just like to use WP Staging, you do not need to read or understand the article below. WordPress core and most of its plugins are storing data in the database in a particular format, so-called serialized data representation. That … Continue reading “Serialized Data, What Does That Mean And Why is it so Important?”