You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-02-02 21:26:18 notice: 4.5.0 - Dynamic properties will be removed in PHP 8.2. Add `public $People = null;` to your class definition or use `#[AllowDynamicProperties]` attribute.
/var/www/html/be/vendor/friendsofcake/crud-json-api/src/Listener/JsonApiListener.php, line: 884
You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `vendor/friendsofcake/crud-json-api/src/Listener/JsonApiListener.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only.
Request URL: /api/people
Solution: add the AllowDynamicProperties annotation
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
*/
#[\AllowDynamicProperties]
class JsonApiListener extends ApiListener
{
use InflectTrait;
The text was updated successfully, but these errors were encountered:
Solution: add the
AllowDynamicProperties
annotationThe text was updated successfully, but these errors were encountered: