Support » Fixing WordPress » my site not showing content

  • I got these error after that some of my page start showing nothing
    anyone knows how to fix this

    [16-Jan-2020 05:36:03 UTC] PHP Warning:  Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in /home/j80utu9bztat/public_html/wp-settings.php on line 24
    
    [16-Jan-2020 05:36:03 UTC] PHP Warning:  require(ABSPATHwp-includes/version.php): failed to open stream: No such file or directory in /home/j80utu9bztat/public_html/wp-settings.php on line 24
    
    [16-Jan-2020 05:36:03 UTC] PHP Fatal error:  require(): Failed opening required 'ABSPATHwp-includes/version.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/j80utu9bztat/public_html/wp-settings.php on line 24
    • This topic was modified 2 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    Open file wp-config.php and check the following code exists,

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
            define('ABSPATH', dirname(__FILE__) . '/');

    if not add the above code your issue will get resolved

Viewing 1 replies (of 1 total)
  • The topic ‘my site not showing content’ is closed to new replies.