I followed the upgrade guide to the letter and I am unable to make it work. I made it work with a new Sage project from scratch.
I tried it with two different projects (Sage 10.3) just in case I was missing something, but in both cases acorn isn’t being loaded giving the error:
Fatal error: Uncaught ReflectionException: Class "blade.compiler" does not exist in /Users/sergiarias/ActiveCaramel/kukis-music21/wp-content/themes/sage-kukismusic22/vendor/illuminate/container/Container.php:889
This happens when I use wp-cli or wp acorn
.
I tried to regenerate all composer files without success. I also added the post autoload dump in scripts:
"post-autoload-dump": [
"Roots\\Acorn\\ComposerScripts::postAutoloadDump"
]
In my code editor the following line shows a warning:
try {
\Roots\bootloader()->boot();
The warning: Expected type 'object'. Found 'void'.intelephense(1006)
What the problem may be?