Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
Hello:I followed the instructions in this chapter step by step, but when I press a button, the error keeps appearing:Button "xxx" not found.What could be missing? I checked the code, and it's the same as the one in the course.
I found the error, the Buttoninterface.php file was loaded incorrectly
Hey @giorgiocba
What services are wired up in your ButtonRemote (and what index)? You can dump the whole container when calling press()
ButtonRemote
press()
"Houston: no signs of life" Start the conversation!
// composer.json { "require": { "php": ">=8.2", "ext-ctype": "*", "ext-iconv": "*", "symfony/console": "7.1.*", // v7.1.3 "symfony/dotenv": "7.1.*", // v7.1.3 "symfony/flex": "^2", // v2.4.6 "symfony/framework-bundle": "7.1.*", // v7.1.3 "symfony/mailer": "7.1.*", // v7.1.5 "symfony/monolog-bundle": "^3.0", // v3.10.0 "symfony/runtime": "7.1.*", // v7.1.1 "symfony/string": "7.1.*", // v7.1.3 "symfony/twig-bundle": "7.1.*", // v7.1.1 "symfony/ux-icons": "^2.18", // v2.19.0 "symfony/ux-twig-component": "^2.18", // v2.19.0 "symfony/yaml": "7.1.*", // v7.1.1 "twig/extra-bundle": "^2.12|^3.0", // v3.11.0 "twig/string-extra": "^3.10", // v3.11.0 "twig/twig": "^2.12|^3.0" // v3.11.0 }, "require-dev": { "symfony/debug-bundle": "7.1.*", // v7.1.1 "symfony/stopwatch": "7.1.*", // v7.1.1 "symfony/web-profiler-bundle": "7.1.*" // v7.1.3 } }
Whoops, an error! Please, try again later.
3 Comments
Hello:
I followed the instructions in this chapter step by step, but when I press a button, the error keeps appearing:
Button "xxx" not found.
What could be missing? I checked the code, and it's the same as the one in the course.
I found the error, the Buttoninterface.php file was loaded incorrectly
Hey @giorgiocba
What services are wired up in your
ButtonRemote(and what index)? You can dump the whole container when callingpress()"Houston: no signs of life"
Start the conversation!