-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- The issue still exists against the latest stable version of Code Snippets.
Type of Bug
Unspecified
Description
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:
- Code Snippets 3.6.5.1
- WordPress Beta Tester 3.5.5
Maybe bit early but PHP 8.4 alpha1 has been released
PHP 8.4: Implicitly nullable parameter declarations deprecated
implicitly-marking-parameter-type-nullable-deprecated
Deprecated: Code_Snippets\REST_API\Snippets_REST_Controller::prepare_item_for_database(): Implicitly marking parameter $item as nullable is deprecated, the explicit nullable type must be used instead in C:\wamp64\www\wp\wp-content\plugins\code-snippets\php\rest-api\class-snippets-rest-controller.php on line 388
Steps to reproduce
- Run WordPress: 6.6-RC2 and PHP: 8.4.0alpha1
- Activate the Latest version of Code Snippet plugin
- Choose "Add New"
Isolating the problem
- This bug happens with only the Code Snippets plugin active (Free or Pro).
- This bug happens with a Blank WordPress theme active. For example: (Hello theme).
- I can reproduce this bug consistently following the steps above.
Comment
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working