• I don’t know since when, because I came across it by accident, but when I call this URL (example):

    https://www.example.de/wp-includes/cache/

    I get this error message:

    Fatal error: require_once(): Failed opening required 'ABSPATHWPINC/class-wp-object-cache.php' (include_path='.:/usr/lib/php7.4') in example-path/wp-includes/cache.php on line 12

    – I use WordPress 5.4.2 on Apache / PHP 7.4
    – Plugins are also up to date
    – a change to the standard theme (Twenty Twenty) did not help
    – switching off all plugins did not help either
    – as well as the complete removal of all additional entries in the .htaccess

    Edit:
    And the permissions are set to 644, both for cache.php and for class-wp-object-cache.php, which is included in line 12 of cache.php. A test change to 744 did not help.

    What can cause this?
    Thank you very much for your help!

    • This topic was modified 4 years, 5 months ago by anyway.
    • This topic was modified 4 years, 5 months ago by anyway.
    • This topic was modified 4 years, 5 months ago by anyway.
    • This topic was modified 4 years, 5 months ago by anyway.
    • This topic was modified 4 years, 5 months ago by anyway.
Viewing 1 replies (of 1 total)
  • Thread Starter anyway

    (@sfdsfwer)

    Also, when I call this up (example):

    https://www.example.org/wp-includes/session/

    I find that error:

    Fatal error: Uncaught Error: Call to undefined function _deprecated_file() in example-path/wp-includes/session.php:9 Stack trace: #0 {main} thrown in example-path/wp-includes/session.php on line 9

    I don’t know if the two errors have anything to do with each other, except that both files are located in /wp-includes/.

    • This reply was modified 4 years, 5 months ago by anyway.
Viewing 1 replies (of 1 total)
  • The topic ‘Failed opening required ‘ABSPATHWPINC/class-wp-object-cache.php’ is closed to new replies.