php - What's wrong with this folder path declaration? Throws 'UnexpectedValueException'

Solution:
The manual says:
Throws an UnexpectedValueException if the path cannot be opened.
Basically, if/pages
is not a valid directory, then it won't work. To be relative to the current working directory you would usepages
without the leading slash.
I'm not familiar with Wordpress, but if it supplies a valid base constant prefix to use, then I would prepend that to the path you are using.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: use the option --with-all-dependencies (-w) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.