Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "creation of dynamic property is deprecated" notice #508

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

Tanguy-Magnaudet
Copy link

Removes the following deprecation warning son PHP 8.2

Deprecated: Creation of dynamic property CF\WordPress\DataStore::$logger is deprecated in /var/www/public_html/public/content/mu-plugins/cloudflare/src/WordPress/DataStore.php on line 23

Deprecated: Creation of dynamic property CF\WordPress\Proxy::$pluginAPI is deprecated in /var/www/public_html/public/content/mu-plugins/cloudflare/src/WordPress/Proxy.php on line 31

Copy link

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wkhayrattee
Copy link

Had this issue on PHP 8.2 and WP 6.4.1
This PR looks good to go.

@aseure aseure merged commit 5a8836d into cloudflare:master Jan 19, 2024
aseure added a commit to aseure/Cloudflare-WordPress that referenced this pull request Jan 19, 2024
This release deploys the following fix cloudflare#508.
@aseure aseure mentioned this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants