![]() |
Hi,
I am trying to upgrade to php 8.2, but running into the deprecated dynamic properties issues and I am not sure how to solve it. In my BaseController, I prepare some elements I need within the views, but that generates the deprecated error. Here how it looks like: PHP Code: abstract class BaseController extends Controller I tried adding as suggested here https://stitcher.io/blog/deprecated-dyna...-in-php-82 the built-in attribute, but without success. PHP Code: #[AllowDynamicProperties] {What is the best way to solve this? Thanks for your help |
Messages In This Thread |
Migrating to php 8.2 - how to solve deprecated dynamics properties - by kcs - 12-18-2022, 06:42 AM
RE: Migrating to php 8.2 - how to solve deprecated dynamics properties - by kenjis - 12-18-2022, 05:47 PM
RE: Migrating to php 8.2 - how to solve deprecated dynamics properties - by kcs - 12-19-2022, 02:08 AM
RE: Migrating to php 8.2 - how to solve deprecated dynamics properties - by volkankaban - 01-07-2023, 01:16 PM
RE: Migrating to php 8.2 - how to solve deprecated dynamics properties - by jasonzig - 01-16-2023, 10:43 AM
RE: Migrating to php 8.2 - how to solve deprecated dynamics properties - by kenjis - 01-07-2023, 10:04 PM
|