• Resolved Web Engineer

    (@web-engineer)


    PHP 8.2 issue – your WpMenuCart class is creating dynamic properties –

    https://php.watch/versions/8.2/dynamic-properties-deprecated

    This results in quite a few deprication notices, just need to define your classes properties in advance to fix this as there is no need for them to be dynamic.

    	public $settings;
    	public $menu_items;
    	public $shop;

    The above seems to clear them for me – there may be more, are you going to release an update to support PHP 8.2? As PHP 7 is reaching EOL.

    Happy to help if you need assistance.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @web-engineer,

    Thanks for reporting this. Actually, we already added compatibility with PHP 8.2 on the Menu Cart Pro, but we overlooked the free plug!

    That said, I just opened an issue to work on this and launch a new version with the improvement as soon as possible: I will keep you posted!

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: Creation of dynamic property’ is closed to new replies.