Title: Error code running in php8.2 environment
Last modified: April 22, 2024

---

# Error code running in php8.2 environment

 *  [zjcpzz](https://wordpress.org/support/users/healerovo/)
 * (@healerovo)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-code-running-in-php8-2-environment/)
 * **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**

The topic ‘Error code running in php8.2 environment’ is closed to new replies.

 * ![](https://ps.w.org/easy-watermark/assets/icon.svg?rev=2153955)
 * [Easy Watermark](https://wordpress.org/plugins/easy-watermark/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-watermark/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-watermark/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-watermark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-watermark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-watermark/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [zjcpzz](https://wordpress.org/support/users/healerovo/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/error-code-running-in-php8-2-environment/)