Causing Fatal error in WP admin pages
-
The plugin causes a fatal error when Woocommerce is enabled. The issue is this function in includes/admin.php
function app_output_buffer() {
if (is_admin()) {
add_filter( 'admin_body_class', function($classes) {
$screen = get_current_screen();
if (preg_match('/wp_smart_import/i', $screen->id)) {
return $classes .= ' wpsmartimport-plugin ';
}
});
}
ob_start();
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Causing Fatal error in WP admin pages’ is closed to new replies.