• ERROR
    Creation of dynamic property TestContentGenerator::$tabs is deprecated
    Creation of dynamic property TestContentGenerator::$buttons is deprecated

    Solution

    public $tabs;
    public $buttons;

    obove public function init() {
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author keith_wp

    (@keith_wp)

    Thanks, forgot my dev box was stuck on 8.1… I’ve updated to 8.3 and fixed the deprecation warnings in the 0.4.4 release.

    Thread Starter meinService

    (@meinservice)

    Hi, ok, but now your Plugin only works with PHP 8.3!!! So i cannot use it an all others too, without PHP 8.3!

    Plugin Author keith_wp

    (@keith_wp)

    I’ve just checked and it still works fine on 8.1 (and maybe?? even from 7.4 when class property typing was introduced) – I’ve just upped the version number to be safe if/when I use some of the new 8.3 features and not realise it.

    Thread Starter meinService

    (@meinservice)

    OK, the only Problem is, that your readme.txt file contains the following content: Requires PHP: 8.3 !!! You can change this to 8.1 or lesser 🙂

    Thread Starter meinService

    (@meinservice)

    there is no possibility for me to update, because of this problem!

    Thread Starter meinService

    (@meinservice)

    Hey, Your Plugin is from now on only installable for PHP 8.3 USERS!!!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Compatibility PHP 8.2’ is closed to new replies.