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

Error code running in php8.2 environment #20

Open
zjcpzz opened this issue Apr 22, 2024 · 0 comments
Open

Error code running in php8.2 environment #20

zjcpzz opened this issue Apr 22, 2024 · 0 comments

Comments

@zjcpzz
Copy link

zjcpzz commented Apr 22, 2024

Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, array callback has to contain indices 0 and 1 in /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php:324 Stack trace: #0 /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /www/wwwroot/www.xxxxx.com/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Settings/Section.php(55): do_action() #3 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Backup/Manager.php(69): EasyWatermark\Settings\Section->__construct() #4 /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php(324): EasyWatermark\Backup\Manager->register_settings_section() #5 /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /www/wwwroot/www.xxxxx.com/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Settings/Settings.php(60): do_action() #8 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Settings/Settings.php(49): EasyWatermark\Settings\Settings->register_sections() #9 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/vendor/micropackage/singleton/src/Singleton.php(58): EasyWatermark\Settings\Settings->__construct() #10 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Watermark/Handler.php(75): Micropackage\Singleton\Singleton::get() #11 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Core/Plugin.php(217): EasyWatermark\Watermark\Handler->__construct() #12 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Features/WatermarkPreview.php(67): EasyWatermark\Core\Plugin->get_watermark_handler() #13 /www/wwwroot/www.xxxxx.com/wp-content/plugins/easy-watermark/src/classes/Core/Plugin.php(102): EasyWatermark\Features\WatermarkPreview->__construct() #14 /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php(322): EasyWatermark\Core\Plugin->setup() #15 /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #16 /www/wwwroot/www.xxxxx.com/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /www/wwwroot/www.xxxxx.com/wp-settings.php(550): do_action() #18 /www/wwwroot/www.xxxxx.com/wp-config.php(107): require_once('...') #19 /www/wwwroot/www.xxxxx.com/wp-load.php(50): require_once('...') #20 /www/wwwroot/www.xxxxx.com/wp-admin/admin.php(34): require_once('...') #21 /www/wwwroot/www.xxxxx.com/wp-admin/edit.php(10): require_once('...') #22 {main} thrown in /www/wwwroot/www.xxxxx.com/wp-includes/class-wp-hook.php on line 324

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

1 participant