Parse error: syntax error, unexpected '/' in /home/mwproperty/public_html/wp-blog-header.php on line 12

后端 未结 2 1601
花落未央
花落未央 2021-01-26 17:01


        
相关标签:
2条回答
  • 2021-01-26 17:21

    The final part of your require_once lines needs to be a string, because you're concatenating one of more strings to form another:

    require_once( dirname(__FILE__) . '/wp-load.php' );
    require_once( ABSPATH . WPINC . '/template-loader.php' );
    
    0 讨论(0)
  • 2021-01-26 17:26

    Line 12 is the following:

    require_once( dirname(__FILE__) . /wp-load.php );
    

    You forgot the quotes (so it makes it a string):

    require_once( dirname(__FILE__) . '/wp-load.php');
    
    0 讨论(0)
提交回复
热议问题