• I have a critical error on my WordPress site. When I check the logs, I see that some files are missing (class-wp-html-doctype-info.php and class-wp-html-processor..php in /www/html/wp-includes/html-api) Indeed, they are not in the expected location. So, I download these files from the official WordPress site and upload them to the server. After doing this, the site starts working again. However, after a few hours, the same problem occurs, and the files I added disappear again. What could be causing this issue? How can I fix it?

    • This topic was modified 1 year, 5 months ago by mol2301.
    • This topic was modified 1 year, 5 months ago by mol2301.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator threadi

    (@threadi)

    Interesting. Normally, of course, it is sufficient to re-deposit missing core files. Incidentally, I would recommend this method: https://ww.wp.xz.cn/documentation/article/updating-wordpress/#manual-update

    However, if they disappear automatically, there must be something in your project or your hosting that removes them. This could be an overzealous virus scanner or a similar security tool. If you use a plugin of this type in your project, deactivate it as a test and see if this changes the behavior. If you are not using something like this, please contact your hoster’s support.

    Thread Starter mol2301

    (@mol2301)

    Thank you for your response. Additionally, I’d like to mention that the “colors.php” file from the Blocksy theme also disappears, but I’m not sure if it’s related in any way.

    Moderator threadi

    (@threadi)

    It can all be connected. I would recommend you to search for the cause again as described above.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with missing class-wp-html-doctype-info.php and class-wp-html-proc’ is closed to new replies.