How to Fix Internal Server Error in WordPress due to Corrupted .htaccess File

Experiencing an "Internal Server Error" in WordPress can be frustrating, but it's a common issue with several potential solutions. This guide will walk you through the most effective methods to diagnose and resolve this error, ensuring your website is up and running smoothly again. Understanding the Internal Server Error An Internal Server Error (also known […]

How to Fix Internal Server Error in WordPress due to Corrupted .htaccess File Read More »

WordPress Developer Desk Code on a Computer Screen Highlighting the Transition from Using Curl for Http Requests

Why New & Seasoned WordPress Developers Should Avoid Direct php cURL Requests and Use WordPress HTTP API Instead

As WordPress continues to gain popularity in the CMS market, it attracts developers from various backgrounds, including those with strong PHP skills. However, some PHP habits, such as directly using cURL for making HTTP requests, can lead to less maintainable and less secure code. WordPress offers a powerful alternative with its built-in HTTP API, which

Why New & Seasoned WordPress Developers Should Avoid Direct php cURL Requests and Use WordPress HTTP API Instead 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 »

WP-CLI ASCII Output Example

How to Preserve WP-CLI Table Formatting When Redirecting Output

WP-CLI is a powerful command-line tool for managing your WordPress sites. It provides various commands to interact with WordPress, similar to how MySQL CLI allows you to manage MySQL databases. One of the useful features of WP-CLI is its ability to display results in a neatly formatted ASCII table, making it easy to read and

How to Preserve WP-CLI Table Formatting When Redirecting Output Read More »

How to Fix docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'

You will most likely see this error even on a fresh Ubuntu installation. It's really strange how nobody caught that. Yes, it’s frustrating, I know especially if you're very busy. it is possible to that this error is related to some python modules/libraries  requests<2.29.0' and 'urllib3<2.0 according to the ticket below. They suggest downgrading but

How to Fix docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' Read More »

PHP Warning: file_get_contents failed to open stream: Connection refused in script.php

You can create a temp file in your document root folder and after the tests you will need to delete it so you don't expose extra sever info to always curious spammers/hackers. if you get this php error you may need to check your php.ini settings to ensure that the allow_url_fopen ini setting in the

PHP Warning: file_get_contents failed to open stream: Connection refused in script.php Read More »

The new new server is up and running. Enjoy!