Shopware 6: Don’t make assumptions about paths and were your plugin lives
We have a template which generates documents for us. Unfortunately it broke with the following error: In short, the plugin tries to find vendor/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_2d_include.php. But it is looking in shared/vendor and not in /vendor. Why is this? Because we use deployer to throw code on the server and the custom/plugins directory is shared between the […]
![Screenshot of PHPStorms Breakpoint window, showing the breakpoints on the left and on the right options, especially turned on Condition with the content "!in_array($_SERVER['REQUEST_URI'], ['/api/notification/message?limit=5', '/api/_action/message-queue/consume', '/api/_action/scheduled-task/run', '/api/oauth/token', '/api/_info/queue.json', '/api/_info/config-me?keys[]=notification.lastReadAt'])"](https://winkelwagen.de/wp-content/uploads/2024/05/Bildschirmfoto-2024-05-25-um-13.19.41-1024x587.png)