$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>404 Not found error after update to WordPress 5.0|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

404 Not found error after update to WordPress 5.0

matteradmin9PV0评论

I have a WordPress website which was working good before WordPress 5.0. after update to WordPress 5.0 I get an 404 error on loading resources.

style.min-rtl.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

and the missing file address is :

.min-rtl.css?ver=5.0.1

I am wondering why I got this error? in the older versions of WordPress there was not such a file or directory but I was not getting this error. I was hoping this will be fixed in the latest WP update v5.0.1 but it's not.

Is it a problem in my theme or WP or maybe something else?

I have a WordPress website which was working good before WordPress 5.0. after update to WordPress 5.0 I get an 404 error on loading resources.

style.min-rtl.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

and the missing file address is :

http://example/wp-includes/css/dist/block-library/style.min-rtl.css?ver=5.0.1

I am wondering why I got this error? in the older versions of WordPress there was not such a file or directory but I was not getting this error. I was hoping this will be fixed in the latest WP update v5.0.1 but it's not.

Is it a problem in my theme or WP or maybe something else?

Share Improve this question edited Dec 19, 2018 at 9:46 ehsan asked Dec 19, 2018 at 7:45 ehsanehsan 4531 gold badge4 silver badges8 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

First I tried to disable all plugins and change theme to the default WordPress theme and error is showing yet.

Then tried to install a new WordPress 5.0.1 and got 2 errors:

theme.min-rtl.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
style.min-rtl.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

I changed the WP language to English and the errors gone. and the errors comeback on all right to left languages. so it seems to be a WP issue and needs to be fixed in future versions.

The name of the file in WP 5.0.1 is "style-rtl.min.css" and not "style.min-rtl.css". So did you try to check for plugin of cache or optimization that would have wrongly rename it ?

Post a comment

comment list (0)

  1. No comments so far