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

1.1: Conflict with All Access #223

Open
SeanTOSCD opened this issue Jan 4, 2019 · 0 comments
Open

1.1: Conflict with All Access #223

SeanTOSCD opened this issue Jan 4, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@SeanTOSCD
Copy link

It appears there's a clash with the new themedd_edd_purchase_variable_pricing() function (I believe it's new).

[04-Jan-2019 19:31:30 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function edd_all_access_remove_price_amounts(), 5 passed in /app/public/wp-includes/class-wp-hook.php on line 286 and exactly 6 expected in /app/public/wp-content/plugins/edd-all-access/includes/functions/download-form.php:318
Stack trace:
#0 /app/public/wp-includes/class-wp-hook.php(286): edd_all_access_remove_price_amounts('<span class="ed...', 28530, 0, Array, '')
#1 /app/public/wp-includes/plugin.php(203): WP_Hook->apply_filters('<span class="ed...', Array)
#2 /app/public/wp-content/themes/themedd/includes/compatibility/edd/template-functions.php(69): apply_filters('edd_price_optio...', '<span class="ed...', 28530, 0, Array, '')
#3 /app/public/wp-includes/class-wp-hook.php(286): themedd_edd_purchase_variable_pricing(28530, Array)
#4 /app/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#5 /app/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /app/public/wp-content/plugins/easy-digital-downloads/includes/templat in /app/public/wp-content/plugins/edd-all-access/includes/functions/download-form.php on line 318

If I remove action the custom function, everything is fine again. The issue shows up where variable price options are output.

I have not looked into any finer details at this point. Just recording the bug for 1.1 development.

@SeanTOSCD SeanTOSCD added the bug label Jan 4, 2019
@SeanTOSCD SeanTOSCD added this to the 1.1 milestone Jan 4, 2019
@amdrew amdrew self-assigned this Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants