How to fix the crash of the Medium plugin for WordPress with PHP 8.x

If you use WordPress and also publish your articles on Medium, you probably know the official Medium for WordPress plugin. It is a…