• Resolved David Lingren

    (@dglingren)


    I am the author of Media Library Assistant – WordPress plugin | ww.wp.xz.cn, and I am working on this topic in the MLA support forum: Fatal error thrown from Sugar Calendar plugin update | ww.wp.xz.cn.

    The fatal error occurs because of this code in your Area.php file, line 1283:

    		if ( apply_filters( 'screen_options_show_screen', false ) ) {
    wp_enqueue_script( 'sugar-calendar-admin-screen-options' );
    }

    WordPress defines the screen_options_show_screen filter with two arguments, but your code only passes one. The second argument contains a reference to the current screen and is required. Plugins like mine need it to know what value to return.

    I can adjust my code to work around this defect, but other plugins will probably have the same problem my user has encountered. Please update your plugin to use this filter as required by WordPress.

Viewing 1 replies (of 1 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Thank you @dglingren for reporting this issue and pointing out the code which produces the issue. We really appreciate it!

    We just released version 3.8.1 which resolves this problem and should no longer cause issues for your users.

    Thank you again for all your help!

    Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘Version 3.8.0 causes critical error’ is closed to new replies.