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”

MySQL Query: How to Delete all WooCommerce Orders

Use this MySQL query to delete all woocommerce orders at once from the MySQL command line. This can be useful if you want to delete all orders on your staging site and then import all orders again from the live site to make the staging site up to date before pushing it to the live … Continue reading “MySQL Query: How to Delete all WooCommerce Orders”

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”

Where Are WooCommerce Products Stored In The WordPress Database?

Sometimes you add new WooCommerce products on your staging site and just want to add those new products to the live site without affecting other data like orders and transactions. Therefore you need to make sure to copy only the relevant tables which contain the WooCommerce products data. Products are located mainly in 2 tables: … Continue reading “Where Are WooCommerce Products Stored In The WordPress Database?”

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?”