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

Deprecated: Optional parameter $post declared before required parameter $certificate_id #54

Open
michael-sumner opened this issue Nov 15, 2024 · 0 comments

Comments

@michael-sumner
Copy link
Member

michael-sumner commented Nov 15, 2024

Describe the bug

Deprecated: Optional parameter $post declared before required parameter $certificate_id is implicitly treated as a required parameter in /home/example/example.com/wp-content/plugins/timestamps/includes/classes/TimestampHelper.php on line 228

To Reproduce
Steps to reproduce the behavior:

  1. Activate the plugin
  2. Set server to PHP 8.1
  3. SSH into the terminal and run e.g. wp timestamps generate --post_type=post,page --post_status=publish,draft --post_ids=1,2,3,4
  4. The error will appear

Expected behavior
The error must not appear.

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

No branches or pull requests

1 participant