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

Fatal error when saving settings for the first time #4

Closed
zackkatz opened this issue Aug 1, 2024 · 1 comment · Fixed by #5
Closed

Fatal error when saving settings for the first time #4

zackkatz opened this issue Aug 1, 2024 · 1 comment · Fixed by #5

Comments

@zackkatz
Copy link

zackkatz commented Aug 1, 2024

Installed, went to settings to create a new watermark.

Selected "Append to File", entered the file path, skipped "Search String", and set the value for the watermark.

Saving the settings resulted in:

[01-Aug-2024 13:37:57 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "EDDFileWatermarking\sanitize_watermark_repeater_settings" not found or invalid function name in [path]/public_html/wp-includes/class-wp-hook.php:324
Stack trace:
#0 [path]/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#1 [path]/public_html/wp-content/plugins/easy-digital-downloads-pro/includes/admin/settings/register-settings.php(369): apply_filters()
#2 [path]/public_html/wp-includes/class-wp-hook.php(326): edd_settings_sanitize()
#3 [path]/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 [path]/public_html/wp-includes/formatting.php(5115): apply_filters()
#5 [path]/public_html/wp-includes/option.php(866): sanitize_option()
#6 [path]/public_html/wp-admin/options.php(344): update_option()
#7 {main}

@danieliser
Copy link
Owner

danieliser commented Aug 5, 2024

Should be resolved in v1.1.0 release shortly, it was patched but never merged for some reason.

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

Successfully merging a pull request may close this issue.

2 participants