Fatal Trash Bug Introduced in 6.9.3
-
When I call the wp_trash_post() function a fatal error is created by MemberPress plugin. 6.9.2 is the last working version.
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function gamipress_delete_post_listener(), 1 passed in /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-content/plugins/gamipress/includes/listeners.php:131\nStack trace:\n#0 /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-includes/class-wp-hook.php(308): gamipress_delete_post_listener()\n#1 /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#2 /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-includes/post.php(3608): do_action()\n#4 /home/723525.cloudwaysapps.com/dgxubaqzsz/public_html/wp-content/themes/review_books_child/inc/custom-account.php(221): wp_trash_post()\n#5 /home/723525.cloudwaysapps.com/dgxubaqzsz...', referer: https://getbooksreviewed.com/account/reader/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Fatal Trash Bug Introduced in 6.9.3’ is closed to new replies.