• Hi,

    I’m getting the following error in my error log every 3-4 seconds:

    PHP Fatal error: Uncaught Error: Undefined constant “BLOGUPLOADDIR” in /var/web/site/public_html/wp-includes/ms-files.php:26
    Stack trace:
    #0 {main}
    thrown in /var/web/site/public_html/wp-includes/ms-files.php on line 26

    I have checked all plugins and themes for “BLOGUPLOADDIR” and it isn’t used.

    Any thoughts on how to resolve this issue?

    I am using WP 6.0.3, PHP 8.0, nginx server.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    for some reason this constant is not set.
    Try looking into the wp-config.php and check if there is a line like this:
    “require_once ABSPATH.’wp-settings.php’
    Please share if you find this line otherwise add it.

    Thread Starter wlpdrpat

    (@wlpdrpat)

    @benniledl Yes, this is the last line in wp-config.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.