Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Axel Tietje

    Hi all, in Pimcore 10 I'm overriding models as described in https://pimcore.com/docs/pimcore/current/Development_Documentation/Extending_Pimcore/Overriding_Models.html

    I have a model with a method that needs to build a uri from a static route. How can I inject Pimcore\Routing\Staticroute\Router into a model so that

    $object = MyModel::create();

    works? In Pimcore 6 the method looked like

    class MyModel extends Pimcore\Model\DataObject\MyModel {
       // […]  
        public function getTheGeneratedUrl(): string
            $route = Staticroute::getByName('MyRouteName');
            return $route->assemble(['param' => $this->getParam()], true)

    Now it seems like I need to use Pimcore\Routing\Staticroute\Router, but how can that service be accessed within a custom model? Simply using Bootstrap::kernel()->getContainer()->get(Router::class); won't work.

    6 replies

    Hey all, I have a question regarding the the way Pimcore stores Classification Stores in combination with versioning in git.

    I have a Class named "Product", and a classification store named "Specs"with id 14 set up locally. When I install Pimcore on a server i can use the Product class with no problems. However, the Classification Store is not 'committed' to git's versioning. On Staging the product class still has a reference to the classification store with id 14, but this classification store does not exist.

    What I've tried: I created a new classification store on staging with the same set of fields and setup the Product Class to use the new Classification Store. This works, however on the first new deployment git correctly states that my Product Class is overwritten and my deployment is stopped. After each deployment via Git the classification store in the Product class should be set again to the correct Classification Store.

    What is the general best practice with regards to the classification stores? Is it possible to commit the classification stores that I have setup locally in my Git Repo or should I use a different method?

    Thanks in advance

    12 replies
    HI All, when i am installing data hub simple rest in pimcore version 10 its give me error
    Could not find a matching version of package pimcore/data-hub-simple-rest. Check the package spelling, your version constraint and that the package is available i
    n a stability which matches your minimum-stability (dev)
    i wants to create rest APIs in pimcore X with JWT tocken how its possible in version 10
    2 replies
    Hi, ist it possible to change the key (under Path, Key & ID) of a document?
    Neelam Rani
    hi i am getting this error while click on number type field in extjs grid panel
    Uncaught TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
    Please guide
    Mayur Champaneria

    Hello All.

    Is this Core level error in Console?

    GET https://DOMAIN/admin/Ext/ux/form/MultiSelect.js?_dc=1625828414215 404 (Not Found) ext-all.js?_dc=9a33afacc268d9779bf6419639e8c208355e50c0:22

    Because file is not there at this Location.


    Hello dear community!

    I have added a setting to an existing areabrick (image gallery). In the backend, a grid size can now be selected via 'Pimcore Select'.
    The brick is already included in some pages and snippets. But so far the new setting only takes effect when I open a single page in the backend and then save it. But now I don't want to open and save each page individually for the setting to be active. Does anyone have an idea how I could do this for the entire site? Or would this have to work 'out of the box'? I have tried setting a default value.

    {% if grid_select.isEmpty() %}
        {% do grid_select.setDataFromResource("3") %}
    {% endif %}
    Michael Frank
    In the Bundle&Bricks List there is a column "Configure". I know that with the old "plugins" it was possible to define a configuration which can be managed here. But, i can´t find if it is still supported? The documentation has no information about a "bundle configuration" possibility.
    Is this just for legacy support or is it still possible to use it?
    1 reply
    Prateek Suhane
    Hi All,
    We are using a Data Importer extension in one of our project but the features available out of box are not sufficient. We need few more generic features. What new features we can expect in the upcoming releases of this extension?
    2 replies
    Katarzyna Kajzar
    Hi Guys!
    In Pimcore 6.8 I have no idea how to set prod env in my prod server.
    In Settings dev-mod is unchecked, when I try to write .env file with
    I've 500 error on page. What sholud check?
    4 replies
    Dennis Pfahlbusch
    @solverat is there an eta when the seo bundle, schema bundle and emailizr are available/compatible with pimcore x? :-)
    1 reply
    Eelco Kruders
    Hi all, what's a pimcore X ready export tool (when enterprise is not an option yet)? Were using w-vision data definitions in pimcore 6.. but does not seem ready for pimcore 10? :(
    5 replies
    Dheeraj Verma
    Hi Guys!
    Is it possible to achieve multi-tenancy in pimcore?
    3 replies
    Eelco Kruders
    Hi all, i'm using Datahub importer for g.e. categories. the object class names are becoming e.g. "import-60f29c4ab580c4.15577098". Is it possible the Datahub importer uses a name field instead of "import-" with some UUID?
    Andreas Wulf
    @zetno - it is possible to define a key. Look at "ImportSettings/Mappings".
    1 reply
    Hi Guys!
    I have already incress the upload_max_filesize and post_max_size in php.ini
    Aleksandar Nikolić
    Hello all,
    I have a problem to setup my ES cluster. I changed my .env file and added two IPs, and the ES as ES is working, but when I want to re-index the stuff for website, I got this error:
    Also, the products are not loaded, just the unicorn is shown
    Can you please tell me what should I do to set up ES cluster in Pimcore
    How can i access inputfields in pimcore with extJS, within some panel?
    I can access fields which are located at the „root“ of the class, but not within some other panels.
    1 reply

    Hi there
    is pimcore 6 ready for composer 2?
    are dachcom-plugins for pimcore ready for composer2?
    What about coreshop 2 and composer2?
    Wvision and Data Definitions?

    any (good/bad) experiences?

    2 replies
    hi guys, is there a way to show only specified languages for users or groups in localized data fields?
    2 replies
    Eelco Kruders
    can you use pimcore graphql queries by using HTTP GET with query parameter?
    1 reply
    Does anyone know of a nice step by step upgrade guide for bundles from pimcore 6.9 to pimcore 10?
    Hi, I am attempting to change custom layout of object while drop down change via startup js. On postOpenObject
    let cbType = object.edit.getLayout().query('combobox[name=markSegment]');
    cbType[0].on('select', function (cb, m) {
    if(cb.value = 'Lable') {
    I do not find any functions on js object to switch custom layout. Any help will be greatly appreciated or another way to do it
    Hi, I am able to switch custom Layout via startup js. Thanks
    Hi, how can I add a new country? When I use the Pimcore country object, Kosovo i missing
    Hi Everyobe
    getting a strange issue
    Getting Redirecting to Admin
    message whenever trying to access domain URL
    Bram Gerritsen

    I am in the process of migrating from pimcore 6 to pimcore 10.
    Have the following requirement in my composer.json:

    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "pimcore/pimcore": "^10.0",

    However composer is installing 10.x-dev (which seems a develop branch to me) instead of latest stable 10.0.7.
    How can I make sure only the latest stable is installed.

    In packagist also these versions are shown (10.x-dev and 10.0x-dev). https://packagist.org/packages/pimcore/pimcore

    1 reply
    Avinash Mishra

    has anybody encountered this error ever before?

    request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Scripts not found" at /var/app/current/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php line 294 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Scripts not found at /var/app/current/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:294)"} []

    Due to this, none of the pimcoreadmin bundle Javascripts are loading and "pimcore_admin_misc_scriptproxy" route is throwing 404

    Bruno Ramalho

    I'm having a problem getting video types in Datahub, the query:

            videoTest {
              data {
                ... on asset {

    but I got the error "message": "Warning: Undefined array key \"data\""
    Does anyone knows why this happening, or am I writing the query in the wrong way?

    1 reply
    Eelco Kruders
    Hi all, i'm using w-vision export to CSV. in my mapping i have a reverse object relation. Does anyone know how i can get the related data in the w-vision export mapping?
    1 reply
    Jochen Califice
    Hi! I'm trying to remove the "set to null" recycle bin icon beside checkboxes. anyone got an idea how to do this?
    Axel Tietje
    This message was deleted
    did somebody now how i can add tow items in the basket cart with same ID because wehn i do this it will always relapse with new one.
    2 replies
    Question 3: What can be defined via permissions out of the box in Pimcore Admin Interface? ('Access rules for Pimcore elements via workspaces.; Field based permissions in data objects.; Permissions to most of main menu entries.; Visible Custom Layouts and Perspectives.; Access rules based on property values of elements.')
    Christopher Siegel
    Bildschirmfoto 2021-07-26 um 13.15.41.png
    If I open Requirements Check inside the pimcore backend, it shows PHP and composer as red, and all CLI tools as yellow.... any idea why? I was just copying DB tables and suddenly couldn't save my pimcore system settings anymore
    If i run the Check in CLI (bin/console pimcore:system:requirements:check) I get OK for all cli tools and php+composer
    Lennart Fries
    @christopher-siegel is the additional $path variable in the system settings properly set? Are there paths in the /app/config/parameters.yml defined?
    Christopher Siegel
    Hey @Cruiser13 I've never had to set any of those. It was working before, then I tried to copy a few tables from my local to the staging server, that's when the problems started (or at least i noticed them, when i tried saving the system settings and got an error "saving failed")