• Resolved cybermcm

    (@cybermcm)


    Hi,

    I noticed a security warning (after a security scan) indicating that my wp-settings.php file throws an error message.
    The blog is working fine!
    My setup is “complex”: I’m using WordPress as a docker image with an Apache reverse proxy, e.g. https://xyz.net/blog/wp-settings.php

    Is this “error” normal? It seems that it happens because of putting my blog in a subfolder xyz.net/blog

    Any ideas?

    
    Warning: Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in /var/www/html/wp-settings.php on line 19
    
    Warning: require(ABSPATHwp-includes/load.php): failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 19
    
    Fatal error: require(): Failed opening required 'ABSPATHwp-includes/load.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-settings.php on line 19
    
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp-settings error message’ is closed to new replies.