“Headers already sent” warning doesn’t appear on localhost

“Headers already sent” warning doesn’t appear on localhost

Have you ever worked on your local environment – looks fine, and then your live server produces the following error?     Warning Cannot modify header information – headers already sent by… This usually happens because output buffering is often

WooCommerce – handling responses from the payment gateways

WooCommerce – handling responses from the payment gateways

Have you created your own payment gateway plugin for WooCommerce and it redirects customers to the gateway’s site for checkout? And you’re looking for a way to get a response from the payment gateway? For example, you’re extending the WooCommerce

[Fix] deprecated: Required parameter follows optional parameter

[Fix] deprecated: Required parameter follows optional parameter

This type of error occurs in PHP 8 and higher. This means if you have a function and an optional parameter comes first and then the required param – this deprecation message triggers. Example. Here $a is an optional parameter,

Upgrade your composer to v2, please.

Upgrade your composer to v2, please.

Featured Image: “Vintage Typewriter Composing” by Wendelin Jacober is marked with CC0 1.0. Composer v2 has significantly improved performance. It updates your packages faster, ignoring already installed packages. If you’re still using composer v1.x – you have probably seen the warning message: Warning

Debouncing – preventing a function to run instantly in React

Debouncing – preventing a function to run instantly in React

Debouncing is a term in software development that is used to prevent a function to run until a specific time has elapsed, which significantly improves the cost. Cost in the terms of requests. Example: let’s say we have a search

× WhatsApp