Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
shopwareBot on 5.7
SW-26148 - Fix document roundin… Merge branch 'sw-26148/5.7/docu… (compare)
shopwareBot on 5.7
SW-26142 - Fix error while logi… Merge branch 'sw-26142/5.7/chan… (compare)
shopwareBot on 5.7
SW-26120 - Provide default valu… Merge branch 'sw-26120/5.7/dev'… (compare)
shopwareBot on 5.7
SW-26100 - Fix error on add exp… Merge branch 'sw-26100/5.7/add-… (compare)
shopwareBot on 5.7
SW-26141 - Fix syntax error in … Merge branch 'sw-26141/5.7/dev'… (compare)
shopwareBot on 5.7
SW-25778 - Fix tax calculatioin… Merge branch 'sw-25778/5.7/chan… (compare)
shopwareBot on 5.7
SW-26134 - Fix behavior of save… Merge branch 'sw-26134/5.7/save… (compare)
shopwareBot on v5.7.2
SW-26107 - Configurable excepti… SW-26108 - Bump flysystem versi… Merge branch 'sw-26107/5.7/remo… and 2 more (compare)
shopwareBot on v5.7.2
shopwareBot on v5.7.2
shopwareBot on v5.7.2
Hi, I have setup a local vm (ubuntu 18.04) to mirror a server environment for sw5 and I have migrated the db and everything works fine - my job is to do some performance improvments and I installed the webp support plugin - I cleared the cache and wanted to move on with regenerating the thumbnails but when I try to do the php bin/console command I get the following output:
jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console
PHP Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console frosh:webp:status
PHP Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
I was wondering if it had to do with file permissions but even afte rsetting everything to 777 its still not working. anybody may has a hint?
./psh.phar docker:start
runs fine, but ./psh.phar docker:ssh
gives the following error
Using .psh.yaml.dist
Starting Execution of 'docker:ssh' ('/home/benji/git/shopware/development/dev-ops/docker/actions/ssh.sh')
(1/1) Starting
> docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u 1000:998 -t bash
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.
Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
Run a command in a running container
Execution aborted, a subcommand failed!
$docker -v
Docker version 19.03.13, build 4484c46d9d
$docker-compose -v
docker-compose version 1.27.1, build 509cfb99
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.media.create". {"route":"api.media.create","route_parameters":{"_route":"api.media.create","_controller":"Shopware\\Core\\Framework\\Api\\Controller\\ApiController::create","entityName":"media","version":"3","path":""},"request_uri":"http://shopware6.test/api/v3/media","method":"POST"} []
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.action.media.upload". {"route":"api.action.media.upload","route_parameters":{"_route":"api.action.media.upload","_controller":"Shopware\\Core\\Content\\Media\\Api\\MediaUploadController::upload","version":"2","mediaId":"4968e4a206634cb6b2939d4e925b2341"},"request_uri":"http://shopware6.test/api/v2/_action/media/4968e4a206634cb6b2939d4e925b2341/upload?extension=png&fileName=zaqq_logo_new-desk","method":"POST"} []
[2020-10-16 14:04:21] php.DEBUG: Warning: mkdir(): Permission denied {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":103,\"trace\":[{\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":156,\"function\":\"ensureDirectory\",\"class\":\"League\\\\Flysystem\\\\Adapter\\\\Local\",\"type\":\"->\"}],\"count\":1})"} []
Hello there :),
I'm experiencing the following error when trying to update to 6.3.4.0
Error
Please try to fix this error and restart the update.
Response
"
\nFatal error: Class 'Symfony\\Component\\HttpKernel\\Exception\\HttpException' not found in /home/<placeholder>/www.<placeholder>.de/dev/vendor/shopware/platform/src/Core/Framework/ShopwareHttpException.php on line 8
\n"
The HttpException class exists in the symfony vendor folder.
Anyone else having this problem at the moment?
Thank you!
Hello there. I want to edit an order-line-item in an exisitng order via API. Actually i am able to edit the price of the order-line-item but the whole order amount is not affected. I know that i have to recalculate the order like this:
http://shopware6.test.de/api/v2/_action/order/cdff5f32d8484c4f811d65343bf1bbfe/recalculate
But when i try via Postman, i got the following answer:
{
"errors": [
{
"status": "400",
"code": "CHECKOUT__ORDER_RECALCULATION_FAILED",
"title": "Bad Request",
"detail": "Order with id \"cdff5f32d8484c4f811d65343bf1bbfe\" could not be recalculated. Live versions can't be recalculated. Please create a new version.",
"meta": {
"parameters": {
"orderId": "cdff5f32d8484c4f811d65343bf1bbfe",
"details": "Live versions can't be recalculated. Please create a new version."
}
}
}
]
}
Does anyone have any idea what needs to be done to get the order recalculated?
composer run-script test
after installing the git version of the FroshProfiler but I still get Fatal error: Uncaught RuntimeException: No autoloader found in /develop/frosh-profiler/FroshProfiler/vendor/frosh/shopware-classic-phpunit-bridge/src/Bootstrap/Functional/bootstrap.php on line 12
hello guys, for shopware6 I need to make listing order like
So at the end of the show order by should looks like
Order by IF(MAX(product.availableStock)>0,1,0) desc,product.createdAt DESC
But I'm stock how to add IF(MAX(product.availableStock)>0,1,0), maybe anyone can advice how to do it?
```SELECT
od.articleordernumber
, cc.countryname
, SUM(od.quantity)
FROM s_order_details AS od
JOIN s_order AS o
ON o.id = od.orderID
JOIN s_order_shippingaddress AS os
ON os.orderID = od.orderID
JOIN s_core_countries AS cc
ON cc.id = os.countryID
WHERE DATE(o.ordertime) BETWEEN DATE_FORMAT(NOW() - INTERVAL 1 MONTH, '%Y-%m-01') AND LAST_DAY(NOW() - INTERVAL 1 MONTH)
GROUP BY od.articleordernumber, cc.id; ```