• === Environment
    – WordPress: 6.6-RC2
    – PHP: 8.4.0alpha1
    – Server: Apache/2.4.59 (Win64) PHP/8.4.0alpha1 mod_fcgid/2.3.10-dev
    – Database: mysqli (Server: 8.3.0 / Client: mysqlnd 8.4.0alpha1)
    – Browser: Edge 126.0.0.0 (Windows 10/11)
    – Theme: Twenty Twenty-Four 1.1
    – MU-Plugins:
    – Plugins:
    ??* Accessibility Checker 1.14.3
    ??* WordPress Beta Tester 3.5.5

    Maybe bit early but PHP 8.4 alpha1 has been released, would be great if could fixed in future versions of the plugin. Thanks!

    PHP 8.4.0alpha1

    PHP 8.4: Implicitly nullable parameter declarations deprecated
    implicitly-marking-parameter-type-nullable-deprecated

    [06-Jul-2024 14:50:31 UTC] PHP Deprecated: EDAC\Admin\Admin::__construct(): Implicitly marking parameter $meta_boxes as nullable is deprecated, the explicit nullable type must be used instead in C:\wamp64\www\wp\wp-content\plugins\accessibility-checker\admin\class-admin.php on line 32

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author williampatton

    (@williampatton)

    Hey @ipajen,

    Thanks for bringing this up, we will for sure be looking to keep full compatibility with php 8.4 before it releases and avoid any deprecation notices or errors so thanks for highlighting this.

    I have opened an issue on the plugin github and set myself some reminders to tackle it in the coming weeks. Will be resolved for sure before 8.4 reaches a full release. https://github.com/equalizedigital/accessibility-checker/issues/706

    Thanks again for pointing this out for us, it’s super helpful to get these into the flow early ??

    Plugin Author williampatton

    (@williampatton)

    Hey @ipajen,

    Thanks for pointing this out for us so early in the php 8.4 release cycle. I just merged a PR that makes sure that the line that was flagged no longer triggers a deprecation warning for an implicit nullable type here. Will be released next time we deploy to the dot org repo.

    If you spot any other things feel free to let me know and we will get them solved ??

    • This reply was modified 4 months, 2 weeks ago by williampatton. Reason: typo
    Thread Starter Jarko Piironen

    (@ipajen)

    Thanks @williampatton for the 1.15.0?release. The release fixed the issue.

    Plugin Author williampatton

    (@williampatton)

    Happy to have solved it before php 8.4 offically releases. If you happen to come across any other issues like this (or anything in general) feel free to let us know. You can open threads here or create issues on our github. Whatever works best for you ??

    Thanks again for reporting this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.