[wp-trac] [WordPress Trac] #55936: ABSPATH & WPINC

WordPress Trac noreply at wordpress.org
Mon Jun 6 16:56:11 UTC 2022

 Reporter:  lkhlc         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:

Comment (by pbiron):

 Sorry you're having problems.

 I can't be 100% sure, but looking at the error messages you're receiving I
 think there is a problem in your `wp-config.php` file.

 Down near the bottom, you should see something like:

 if ( ! defined( 'ABSPATH' ) ) {
         define( 'ABSPATH', __DIR__ . '/' );

 Note the trailing slash (`'/'`).  If you define `ABSPATH` in some other
 config file that gets included **before** that line in `wp-config.php`,
 make sure that the value also has the trailing slash.

Ticket URL: <https://core.trac.wordpress.org/ticket/55936#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list