• Resolved dripstone

    (@dripstone)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author threadi

    (@threadi)

    Please update the plugin here to the latest version 1.1.2. I had made an adjustment at exactly this point.

    Thread Starter dripstone

    (@dripstone)

    I had installed version 1.1.2. The error in the log file is from a time before the update and probably has nothing to do with the 404 problem. However, the 404 problem also occurred with version V1.1.2. Now that the website is working again with the backup without the plugin, I don’t dare to install it again.

    Plugin Author threadi

    (@threadi)

    With version 1.1.2, this error cannot occur at all. The line mentioned in the error now looks completely different and would not cause such an error. If, contrary to expectations, a problem should occur, the error message should be different.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 Error for Woocommerce products’ is closed to new replies.