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

PHP 8.1 incompatibility #2

Open
pacmanito opened this issue Nov 26, 2021 · 0 comments
Open

PHP 8.1 incompatibility #2

pacmanito opened this issue Nov 26, 2021 · 0 comments

Comments

@pacmanito
Copy link

Hi, I’ve just started testing WP with recently released PHP 8.1 and found that your plugin causes a fatal error:

PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class LittleBizzy\DashboardCleanup\Cleanup\Elements does not have a method "quickDraft" in \wp-includes\class-wp-hook.php:303
Stack trace:
#0 \wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#1 \wp-includes\plugin.php(470): WP_Hook->do_action(Array)
#2 \wp-admin\admin.php(175): do_action('admin_init')
#3 \wp-admin\index.php(10): require_once('...')
#4 {main}
  thrown in \wp-includes\class-wp-hook.php on line 303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant