• Resolved luckystriko

    (@luckystriko)


    Hello,

    Since last update, plugin errors shown on the top of wordpress admin page, many lines like this:

    Warning: Undefined variable $options_to_filter in /misc/4/000/332/343/3/user/web/religija.me/wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 146

    Warning: Undefined array key “sanitize_callback” in /misc/4/000/332/343/3/user/web/religija.me/wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 128

    Warning: Undefined array key “section_description” in /misc/4/000/332/343/3/user/web/religija.me/wp-content/plugins/easy-fancybox/inc/class-easyfancybox-admin.php on line 178

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author FirelightWP

    (@firelightwp)

    @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

    Thread Starter luckystriko

    (@luckystriko)

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

    Plugin Author FirelightWP

    (@firelightwp)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin error on Admin page’ is closed to new replies.