Nuno Maduro 🤌🏻 on Twitter: "In PHP, the generic "Exception" class provides very little debugging context for the developer; however, to remedy this, you can create your own exceptions with self-explanatory names.
![product - Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135 - Magento Stack Exchange product - Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135 - Magento Stack Exchange](https://i.stack.imgur.com/XdFRx.png)
product - Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135 - Magento Stack Exchange
![How to solve Symfony 5 exception: Expected argument of type "string", "null" given at property path | Our Code World How to solve Symfony 5 exception: Expected argument of type "string", "null" given at property path | Our Code World](https://cdn.ourcodeworld.com/public-media/articles/symfony5-expected-argument-type-string-null-given-6021c1ff3a04a.png)
How to solve Symfony 5 exception: Expected argument of type "string", "null" given at property path | Our Code World
![Why You Should Use SPL Exceptions in PHP, for Better Exception Handling - Web dev etc - my software development blog Why You Should Use SPL Exceptions in PHP, for Better Exception Handling - Web dev etc - my software development blog](https://d33wubrfki0l68.cloudfront.net/6ec48e85d79859500220c400a041b4e5327388a0/a84de/blog_images/why-you-should-use-spl-exceptions-in-php-for-better-exception-handling-vn2t1140x600.png)
Why You Should Use SPL Exceptions in PHP, for Better Exception Handling - Web dev etc - my software development blog
![An exception has been thrown during the rendering of a template ("Array to string conversion") after upgrade - Themes & Styling - Grav Community Forum An exception has been thrown during the rendering of a template ("Array to string conversion") after upgrade - Themes & Styling - Grav Community Forum](https://aws1.discourse-cdn.com/standard10/uploads/getgrav/original/2X/f/f37cb61680068288b013952ebf06e046e93fca19.png)