404 Error for Woocommerce products
-
I have installed Woocommerce on my website and have noticed that there are problems with the display of products. A 404 error appears. Sometimes the product is displayed the first time the product is called up, if you reload the page several times, the 404 error appears at some point. Woocommerce shows the following error in a log file:
2024-03-06T09:54:20+00:00 CRITICAL Uncaught Error: Call to undefined function get_current_screen() in /////plugins/external-files-in-media-library/inc/admin.php:323 CONTEXT: {“error”:{“type”:1,”file”:”\/\/\/\/wp-content\/plugins\/external-files-in-media-library\/inc\/admin.php”,”line”:323},”backtrace”:[“”,”#0\/\/\/\/wp-includes\/class-wp-hook.php(322): eml_admin_add_multi_form()”,”#1 \/\/\/\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”,”#2 \/\/\/\/wp-includes\/plugin.php(517): WP_Hook->do_action()”,”#3 \/\/\/\/wp-includes\/media-template.php(283): do_action()”,”#4 \/\/\/\/wp-includes\/class-wp-hook.php(324): wp_print_media_templates()”,”#5 \/\/\/\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”,”#6 \/\/\/\/wp-includes\/plugin.php(517): WP_Hook->do_action()”,”#7 \/\/\/\/wp-includes\/general-template.php(3068): do_action()”,”#8 \/\/\/\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/bfb-template.php(51): wp_footer()”,”#9 \/\/\/\/wp-includes\/template-loader.php(106): include(‘…’)”,”#10 \/\/\/\/wp-blog-header.php(19): require_once(‘…’)”,”#11 \/\/\/*\/index.php(17): require(‘…’)”,”#12 {main}”,”thrown”]}
Deactivating the External files in media library plugin did not change anything. Now I have imported a backup before installing the plugin and the 404 error no longer appears.
- The topic ‘404 Error for Woocommerce products’ is closed to new replies.