All posts by PF

JSON Web Tokens (JWTs) are not safe

In this book, we go into JWTs, their perceived benefits, and actual dangers. We’ll also discuss battle-tested solutions to replace them. We’ll explore:

  • HTTP Sessions, Authentication, and Authorization
  • The need for something like JWT
  • JWTs’ perceived benefits and actual dangers 
  • JWT workarounds and the complexities around that
  • Using Redis for session storage instead of JWTs
  • Sessions storage when Redis is used as a Primary DB 
  • Finally, you’ll also learn how to use Redis + JWT! Another common approach to managing user session

Article link

FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Color’

2022/03/24 04:21:34 [error] 48814#48814: *3018415 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'Elementor\Scheme_Color' not found in ... /wp-content/plugins/tz-feature-pack/includes/elementor/class-tz-fp-site-logo.php:115
Stack trace:

Last night elementor update was causing me this fatal error.

The solution is to replace Scheme_Color with \Elementor\Core\Schemes\Color

As seen on https://forum.elementor.com/fixing-common-issues-33/wordpress-error-with-elementor-plugin-10649