Skip to content

Struggling with config/execution on WordPress project #9159

Closed Answered by EliW
EliW asked this question in Q&A
Discussion options

You must be logged in to vote

Solution: The proper solution here is to not use any stubs files, but instead to fully bootstap WordPress. While that's a lot of overhead it's the only way to fully solve this issue ... via:

	->withBootstrapFiles([
		__DIR__ . '/wp/wp-load.php',
	])

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@EliW
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by EliW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants