Anna Ghandevosyan

Anna is a software architect at 10Web. While her cat Thor stares suspiciously at the screen, Anna spends her days programming to find optimal architectural solutions and solve difficult tasks.
Sort by recent

What’s New in PHP 8 (Features, Updates & Changes)

21 MIN READ

PHP 8.0 is a major update that was released on November 26, 2020. It came with many new amazing features and optimizations such as named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT compiler, improvements in the type system, error handling, and consistency. With 10Web, you can easily update your PHP to the PHP 8.0 version. If you don’t want to go into the details, scroll down to see how to enable it on 10Web. Others are welcome to learn about all the new features of PHP 8 and about the JIT compiler in particular. New features Let’s discover the new features introduced by this new major update. Here’s what we’ll cover in this article: Named Arguments Attributes v2 Constructor Property Promotion Union Types 2.0 Match expression v2 Nullsafe operator Saner string to number comparisons Consistent type errors for internal functions Type system and error handling…

502 Bad Gateway Error and How to Fix It

13 MIN READ

HTTP 504 Gateway Timeout and HTTP 502 Bad Gateway errors are the most common server errors for WordPress website visitors and owners. In my previous article, we’ve already discussed the causes of a 504 Gateway Timeout error and possible solutions for it. In this article, we’ll come to understand what a 502 Bad Gateway error is, talk about the reasons for a 502 Bad Gateway error, and explore some tips for troubleshooting this type of errors. What does 502 Bad Gateway mean? Before we define what a 502 Bad Gateway error is, let’s deep-dive into server infrastructure and find out the meaning of some terms, like web server, proxy server or gateway, and upstream server. Let’s first discuss how hosting a modern web application works. For this we need three actors: The web application The gateway The web server In the picture below you can see the PHP modern web…

504 Gateway Timeout Error and How to Fix It

13 MIN READ

An HTTP 504 Gateway Timeout error is the most common error encountered by website developers. And in many cases, it can become a real pain. Generally, it’s difficult to find out the reason for a timeout error because the server response has no helpful information about the error cause. In this article, we’ll find ways to troubleshoot timeout errors and find solutions for them, while giving you a better understanding of timeout errors and their causes. What is a 504 Timeout error? To deeply understand what a 504 Gateway Timeout error is let’s first have a look at server and client relationships. What happens when the client sends an HTTP request to the server? When the server receives the request, it processes it, and–depending on whether the result is successful or unsuccessful–returns a response with the corresponding HTTP status code in the HTTP response headers. HTTP status codes are a…

The Complete Guide on How to Setup WordPress Multisite

17 MIN READ

WordPress is a very popular and multifunctional content management system that powers 39.6% of websites in 2021. The free and simple functionality of the system makes it possible to create websites regardless of the level of technical knowledge. WordPress provides tons of features for building an amazing website, and one of the more advanced ones is WordPress multisite. This efficient feature empowers any WordPress user to create their own separate network of subsites for different purposes. WordPress multisite came to replace the multi-user edition which allowed users to securely manage their templates and settings without affecting any other users. What is a WordPress multisite? WordPress multisite allows you to build a network of subsites with a single WordPress instance – a good example for this is wordpress.com – and manage them from one dashboard. This feature is integrated into WordPress core, so you don’t need to download extra software to…

What’s New in PHP 7.4 (Features, Deprecations, Updates)

18 MIN READ

About the PHP 7.4 release PHP 7.4 was released on November 28, 2019 for General Availability. With this PHP release you can expect a noticeable performance increase. However, although PHP 7.4 improves performance and code readability, you can expect a true boost from PHP 8, as a JIT inclusion has already been approved for that version.By the way if you want to check how your current website is doing on performance here are the top metrics you can use. But back to PHP 7.4! Some of the key features of this new version are syntactic improvements, FFI (foreign function interface), engine changes, class preloading, and much more. Here’s what we’ll cover in this article: Spread Operator in Array Expression Support for Arrow Functions Support for coalescing assign (??=) operator Support of typed properties Covariant Returns and Contravariant Parameters Support for WeakReferences Preloading Deprecations PHP 7.4 for WordPress users Now let’s…

Subscribe

Get the latest posts delivered right to your inboxEMAIL ADDRESS

Enter valid email