Fixing the “Syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING)” PHP error

Technology

Fixing the “Syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING)” PHP error

In this short post, we show to fix the “unexpected error ‘fn’” in The recent PHP upgrade to version to 7.4.x with WordPress version 5.5.3 leads to the following error in different plugins resulting in an application crash. Parse error: syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING) in xxxx.php file line number 121. The …

Fixing the “Syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING)” PHP error Read More »

Securing keys with DotEnv 5.2 using Composer in WordPress

Storing access keys is an integral part of development. Secure key storage becomes critical with multiple environments such as staging, development, and production. Specifically for WordPress, the key concerns are not disclosing keys in version control and securing the wp-config.php file.  While there are multiple ways to do this, key storage becomes simple with DotEnv …

Securing keys with DotEnv 5.2 using Composer in WordPress Read More »

Getting started with Angular Flex-Layout

In this post, I will show how to use Angular Flex-Layout in HTML. Angular layout provides a sophisticated API using Flexbox. This module provides Angular developers with component layout features using a custom layout API. Angular Flex-Layout is a stand-alone library developed by the Angular team for designing sophisticated layouts. When creating an HTML page …

Getting started with Angular Flex-Layout Read More »

Dynatrace APM – Continuous Monitoring for Today's DevOps

Today’s enterprise applications are necessarily high-demand and high-performance environments. With the current pandemic, these environments are under constant stress. While tools such as Nagios and Prometheus are in extensive use, they do not work well in a dynamic environment, and hence scalability has been their Achilles heel. At the same time, writing our monitoring systems …

Dynatrace APM – Continuous Monitoring for Today's DevOps Read More »

Transaction boundary in the context of Spring + Hibernate or SOA architecture

In this post, we explain the importance of maintaining a transaction boundary in the context of Spring + Hibernate or SOA architecture.  The use case  An entity (Employee) updates with business logic that is dependent on another entity (EmployeeMetaData). The Employee entity is fetched using hibernate/ORM. However, we were not able to read uncommitted data …

Transaction boundary in the context of Spring + Hibernate or SOA architecture Read More »

Destructuring assignment in ES6 for more clarity

ES6 introduces the Destructuring assignment that allows javascript developers to assign items of arrays or properties of objects to any individual variables. While the syntax is more simplified it exhibits more clarity that the traditional property access.  Here is how you would extract items from an array in ES5: var animals = [‘dog’,’lion’,’cat’] var a …

Destructuring assignment in ES6 for more clarity Read More »

Talk to us

Scale your engineering team, decrease time to market and save at least 50 percent with our optimized Agile development teams.

Contact us