Development

How to Fix WP-CLI Fatal Error with SQLite Object Cache

When running WP-CLI commands on a WordPress site that uses a SQLite-based object cache, you may get a fatal error inside: wp-content/object-cache.php This can happen when the website works normally in the browser, but WP-CLI fails from the command line or from cron. Example Command wp cron event run --due-now --path="$HOME/site/htdocs/clients/example-site" Or with the normal […]

How to Fix WP-CLI Fatal Error with SQLite Object Cache Read More »

How to Update Your Self-Hosted WordPress Staging Site

If you're offering WordPress development services you must have a WordPress staging site for each client site/project you work on. It's just the professional way to handle things. A WordPress staging site is a private copy/clone of a live WordPress site where developers and designers can safely test changes, updates, or new features without affecting

How to Update Your Self-Hosted WordPress Staging Site Read More »

Why You Should Use a Staging Site When Hiring a WordPress Designer or Developer

Hiring someone to improve your WordPress site is a smart move for your business. Whether it’s a designer to freshen up the look or a developer to add new features, one crucial decision often gets overlooked: where should they do the work? Letting someone tinker directly on your live website is like letting a contractor

Why You Should Use a Staging Site When Hiring a WordPress Designer or Developer Read More »

How to Check if your WordPress Site is Loading Multiple jQuery Scripts

The very first step is to open the page source by doing right click and then View Page Source. Then search for jquery.js or most likely jquery.min.js. The browser will tell you how many times the keyword was found on that page. The jQuery version that ships with WordPress will be loaded from /wp-includes/ folder

How to Check if your WordPress Site is Loading Multiple jQuery Scripts Read More »

How to Disable Hardware Acceleration in Visual Studio Code

For some reason you may need to disable Visual Studio Code's hardware acceleration. For example in Ubuntu it's slow. !Backup! Before you do anything backup the settings. CTRL+SHIFT+P and type runtime you should see this kind of option. https://code.visualstudio.com/updates/v1_40 ... or you can edit $HOME/.vscode/argv.json file. (Linux) that line is commented. When I uncommented it

How to Disable Hardware Acceleration in Visual Studio Code Read More »