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 fatal error on upgrade #352

Closed
shawfactor opened this issue Feb 1, 2023 · 1 comment
Closed

php 8.1 fatal error on upgrade #352

shawfactor opened this issue Feb 1, 2023 · 1 comment

Comments

@shawfactor
Copy link

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Webmention\upgrader_overwrote_package(), 2 passed in //public_html/wp-includes/class-wp-hook.php on line 308 and exactly 3 expected in /home/melbour9/public_html/wp-content/plugins/webmention/webmention.php:155
Stack trace:
#0 /
/public_html/wp-includes/class-wp-hook.php(308): Webmention\upgrader_overwrote_package()
#1 /
/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /
/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /
/public_html/wp-admin/includes/class-plugin-upgrader.php(371): do_action()
#4 /
/public_html/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade()
#5 /
***/public_html/wp-admin/network/update.php(17): require('/home/melbour9/...')

@pfefferle
Copy link
Owner

hello @shawfactor :)

Thanks for reporting, but this is weird, the doku says there are three params. Can you give me a bit more details what exactly you did to receive the issue?

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

2 participants