litespeedtech / litespeedtech/lscache_wp

PHP 8.2 deprecated warning Creation of dynamic property

Open
#544 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Environment
  • WordPress: 6.2.1-alpha-55611
  • PHP: 8.2.0
  • LiteSpeed Cache 5.3.3

/wp-admin/admin.php?page=litespeed-crawler gives following deprecated warning:

Creation of dynamic property LiteSpeed\Crawler_Map::$_tb_blacklist is deprecated

wp-content/plugins/litespeed-cache/src/crawler-map.cls.php:30

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at wp-content/plugins/litespeed-cache/src/crawler-map.cls.php:30 and reproduce the warning from /wp-admin/admin.php?page=litespeed-crawler using PHP 8.2. Check the LiteSpeed\Crawler_Map class and confirm the deprecated dynamic-property warning is gone while crawler-map behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.