Version 3.8.0 causes critical error
-
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_screenfilter 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.
The topic ‘Version 3.8.0 causes critical error’ is closed to new replies.