Plugin error on Admin page

[ad_1]

@luckystriko – I just pushed a fix for this. When you get a chance, can you confirm those errors are gone now?

I also have some error messages in the admin area.
System:
WordPress 6.4.3
easy-fancybox: 2.0
PHP: 8.1.x

Warning: Undefined variable $options_to_filter in .../wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 146

Warning: Undefined array key "sanitize_callback" in .../wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 128

Warning: Undefined array key "section_description" in .../wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 178

Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php:146) in .../wp-admin/includes/misc.php on line 1431

Solution:
Either back to easy-fancybox 1.9.5 or:
Insert in wp-config.php below:

ini_set('display_errors','Off');

@firelightwp: Thanks for the quick solution, it now works without error messages!

Works also with PHP 8.3.x

Solved. No more errors. Thank you for quick support!

Great! Glad it is resolved. Thanks for reporting. And sorry for that – should obviously be caught in testing.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer