vizy icon indicating copy to clipboard operation
vizy copied to clipboard

Cannot assign array to property verbb\vizy\models\BlockType::$layoutUid of type ?string

Open laneigemud1990 opened this issue 3 months ago • 8 comments

Describe the bug

Hi there, Since I have upgraded to vizy version 3.0.10, I am getting the bug mentioned in the title on pretty much every page that uses vizy. Perhaps just a data type thing?

Steps to reproduce

  1. Try to access any page on the FE or within the craftcms admin with vizy blocks and it will throw this error.

Craft CMS version

Craft CMS Pro 5.8.15

Plugin version

3.0.10

Multi-site?

No

Additional context

What I thought is the relevant part of the stack trace below:

3. in /var/www/html/vendor/verbb/vizy/src/fields/VizyField.php at line 480– craft\base\Model::__construct()
474475476477478479480481482483484485486            return $this->_blockTypesById[$blockTypeId];
        }
 
        foreach ($this->fieldData as $group) {
            foreach ($group['blockTypes'] as $block) {
                if ($block['id'] === $blockTypeId || $block['handle'] === $blockTypeId) {
                    return $this->_blockTypesById[$blockTypeId] = new BlockType($block);
                }
            }
        }
 
        return null;
    }
4. in /var/www/html/vendor/verbb/vizy/src/nodes/VizyBlock.php at line 62– verbb\vizy\fields\VizyField::getBlockTypeByIdOrHandle()
56575859606162636465666768        parent::__construct($config);
 
        $blockTypeId = $this->attrs['values']['type'] ?? '';
 
        if ($blockTypeId) {
            // We might be trying to get the block type via ID or handle (GQL uses handles)
            $this->_blockType = $this->getField()->getBlockTypeByIdOrHandle($blockTypeId);
 
            if ($this->_blockType) {
                $this->_fieldLayout = $this->_blockType->getFieldLayout();
 
                // Save as shortcut to the blocktype handle, for templating ease
                $this->handle = $this->_blockType->handle;
5. verbb\vizy\nodes\VizyBlock::__construct()
6. in /var/www/html/vendor/yiisoft/yii2/di/Container.php at line 419– ReflectionClass::newInstanceArgs()
7. in /var/www/html/vendor/yiisoft/yii2/di/Container.php at line 170– [yii\di\Container::build](https://www.yiiframework.com/doc-2.0/yii-di-container.html#build()-detail)()
8. in /var/www/html/vendor/yiisoft/yii2/BaseYii.php at line 365– [yii\di\Container::get](https://www.yiiframework.com/doc-2.0/yii-di-container.html#get()-detail)()
9. in /var/www/html/vendor/craftcms/cms/src/Craft.php at line 70– [yii\BaseYii::createObject](https://www.yiiframework.com/doc-2.0/yii-baseyii.html#createObject()-detail)()
64656667686970717273747576    public static function createObject($type, array $params = [])
    {
        if (is_array($type) && isset($type['__class']) && isset($type['class'])) {
            throw new InvalidConfigException('`__class` and `class` cannot both be specified.');
        }
 
        return parent::createObject($type, $params);
    }
 
    /**
     * Checks if a string references an environment variable (`$VARIABLE_NAME`)
     * and/or an alias (`@aliasName`), and returns the referenced value.
     *
10. in /var/www/html/vendor/verbb/vizy/src/models/NodeCollection.php at line 320– Craft::createObject()
314315316317318319320321322323324325326                continue;
            }
 
            if ($class = ($this->_registeredNodesByType[$node['type']] ?? null)) {
                unset($node['type']);
 
                $nodeClass = Craft::createObject(array_merge($node, [
                    'class' => $class,
                    'field' => $this->field,
                    'element' => $this->element,
                    'rawNode' => $rawNode,
                ]));
 
11. in /var/www/html/vendor/verbb/vizy/src/models/NodeCollection.php at line 69– verbb\vizy\models\NodeCollection::_populateNodes()
63646566676869707172737475 
        // Save here as we're recursively populating nodes/marks
        $this->_registeredNodesByType = Vizy::$plugin->getNodes()->getRegisteredNodesByType();
        $this->_registeredMarksByType = Vizy::$plugin->getNodes()->getRegisteredMarksByType();
 
        // Prepare node/mark classes for the collection
        $this->nodes = $this->_populateNodes($this->rawNodes);
        $this->nodes = $this->_normalizeNodes($this->getNodes(), $this->element);
 
        parent::__construct(null, null);
    }
 
    public function __toString(): string
12. in /var/www/html/vendor/verbb/vizy/src/fields/VizyField.php at line 257– verbb\vizy\models\NodeCollection::__construct()
251252253254255256257258259260261262263        }
 
        if (!is_array($value)) {
            $value = [];
        }
 
        return new NodeCollection($this, $value, $element);
    }
 
    public function serializeValue(mixed $value, ElementInterface $element = null): mixed
    {
        if ($value instanceof NodeCollection) {
            $value = $value->serializeValues($element);
13. in /var/www/html/vendor/craftcms/cms/src/base/Element.php at line 6759– verbb\vizy\fields\VizyField::normalizeValue()

laneigemud1990 avatar Aug 29 '25 11:08 laneigemud1990

Hmm, that's an odd one! That UID should absolutely not be an array, so we'd better figure out what's going on there.

I can't seem to replicate this, but it also could potentially be down to your field settings.

Can you have a look at the YAML file at /config/project/fields/your-vizy-field.yaml and send through? If it's too large, feel free to send to [email protected].

engram-design avatar Sep 02 '25 04:09 engram-design

Hi there, thanks for you response!

vizyContent--b7f28778-9009-43b9-80f8-2712aad447ac.yaml

laneigemud1990 avatar Sep 02 '25 09:09 laneigemud1990

Thanks for that, so the YAML file looks correct, no layoutUid items that are an array there. Sounds like it might be related to your content.

I don't suppose you have a complicated Vizy field setup with Matrix or nested Vizy fields?

If you head to an entry where this happens, maybe you can send through the raw database content for that entry? You can find that in elements_sites.

engram-design avatar Sep 03 '25 03:09 engram-design

Ah, that's odd as it seems to be happening with not just one entry, but every entry with that field. Here is the content examples from the database of one of the entries:

{ "058a97da-938f-4a81-a9a8-e39845a60b15": false, "0888e0b6-6eb2-4334-9b17-52ff5c49007d": true, "13301c93-0a74-461a-b8e6-3e5399fd2898": false, "1b2186ce-25f7-49cf-8d84-5fd867beb7e4": "[{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-dEkj5gh06N\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-uMk0eV06Sl\",\"content\":{\"fields\":{\"723d5ab6-232d-42c6-a405-41450ff70105\":\"[14868]\",\"f597875c-e8ed-403d-844f-03adf4235940\":\"Advancing Just Transitions in the Built Environment\",\"30d3b986-8ea1-4177-aabb-0bd227dd96cd\":\"IHRB's in-depth study of decarbonisation initiatives and human rights in eight cities across the world, with key recommendations for all stakeholders to ensure just transitions.\",\"fd13a1e5-f3f8-4b5d-98ec-03cd4d03f612\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Url\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-url\\\",\\\"newWindow\\\":true,\\\"linkValue\\\":\\\"https:\\\\\\/\\\\\\/justtransitionsbuiltenvironment.ihrb.org\\\\\\/\\\",\\\"linkText\\\":\\\"Read the digital report\\\"}]\",\"152391bb-14cc-4f01-aa8a-b4cd852c5f2b\":\"imageOnTheLeft\",\"6ab34ab9-6ceb-4c3e-9d3a-cf8113425e34\":\"white\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-EPVsC38KTh\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-KERJW9lOcg\",\"content\":{\"fields\":{\"93ff18e6-ba67-4290-9123-19551d305c34\":\"Featured Projects\",\"29fd4732-01f7-4a2c-b059-8a73e142c479\":\"[]\",\"3de75ccb-37ca-4055-ae09-98ebefa2c983\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[15913],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[15917],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[15921],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[17848],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[28219],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[28200],\\\"linkSiteId\\\":1}]\",\"60a8318c-28d0-45a9-a765-021983c0330b\":\"white\",\"dc278c3a-f8c4-488e-b0df-080a9aaff528\":\"color\",\"1f306a6a-7873-4a65-affa-3d46c4c356b3\":\"threeTiles\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-pGs7Rgcl9U\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-9qdguCJHlC\",\"content\":{\"fields\":{\"eaa4ecfc-bbe1-4467-a990-a3bc5f3db772\":\"Insights\",\"3fe61aad-6e72-481a-9ff1-b68403982c19\":null,\"350ac06a-138f-4bc9-955e-ffe427237dd0\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Url\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-url\\\",\\\"linkValue\\\":\\\"https:\\\\\\/\\\\\\/ihrb.org\\\\\\/latest?filters=built-environment\\\",\\\"linkText\\\":\\\"View more\\\"}]\",\"40cef4f6-0f98-4e27-8c5b-96bc1ed854d4\":\"[28506,28377,19993]\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-nIPlpkxcew\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-NlQpsqwBxH\",\"content\":{\"fields\":{\"6f92fdd0-6123-445c-84e2-412cd0159d8c\":\"Resources\",\"94e58950-916b-4e21-bac2-883ddd710949\":null,\"c6161825-1346-4ffc-adc0-a30a83049670\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Url\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-url\\\",\\\"linkValue\\\":\\\"https:\\\\\\/\\\\\\/ihrb.org\\\\\\/resources?filters=built-environment\\\",\\\"linkText\\\":\\\"View more\\\"}]\",\"6a74495c-03ee-4c3c-9dbe-71aab8878c69\":\"[21512,11064,16276,16330]\",\"4ceebb78-d064-41c1-b70a-f70fd463fde9\":\"horizontal\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-PlzosuRe7r\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-L1yRfplixy\",\"content\":{\"fields\":{\"0cad214c-d54e-4575-98a3-ec9440be343a\":\"Toolkits\",\"dc6b3efe-ea1a-453c-8d3e-60a718d593bf\":\"[]\",\"ce90bec1-bac0-49b2-a767-07c0839fc2dc\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[16323],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[16330],\\\"linkSiteId\\\":1},{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"linkValue\\\":[18588],\\\"linkSiteId\\\":1}]\",\"a85e4ddf-d154-414f-b718-33262aac11f9\":\"white\",\"5f7d0ec9-5c2f-4e7b-8a2c-c38eccf2623b\":\"threeTiles\",\"cd2f86d0-392d-474d-94c5-07e99faa7b7f\":\"white\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-onrSQXVIsq\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-Kk4YRIadNQ\",\"content\":{\"fields\":{\"e150f314-0b65-424d-8ff7-8f8e39e4960e\":\"Team\",\"6d49c6aa-d755-429c-8224-4cabb255e914\":\"Meet our Built Environment team and learn about their expertise.\",\"7f77dec4-0819-4316-b3cd-42402249867b\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Entry\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-entry\\\",\\\"fields\\\":{\\\"a7cfa995-a9da-4c20-b469-326bda62d524\\\":\\\"\\\"},\\\"linkSiteId\\\":null}]\",\"8d7778d0-c10f-4974-a428-e71fdcc62ab5\":\"[26279,11364,13233,27633]\"}}}}}]", "377f16d9-a9a8-47e2-bfd7-6b97763e04b8": "Built Environment", "3c11b8d1-26b5-4385-86c4-59e86a51fef5": "Built Environment", "5ee927e7-2827-4481-b232-166e655d96da": [ 23982 ], "613a5e8a-f401-4185-bb2c-515f9e0f5081": "Shaping a human rights-led approach to urban development", "673d551d-4467-407e-9618-9e4c9b1fc694": "Shaping a human rights-led approach to urban development", "9b3ef895-1e09-4ff6-a3f7-fa496cc859ef": false, "bd2c5332-e825-4bbb-9fdb-526e2e90efe1": { "typeId": null, "sourceId": null, "sourceName": null, "sourceType": "field", "metaSiteVars": { "creator": null, "identity": null, "referrer": "no-referrer-when-downgrade", "siteName": "NS Craft Starter", "sameAsLinks": [], "facebookAppId": "", "twitterHandle": "", "facebookProfileId": "", "siteAlternateName": "", "additionalSitemaps": [], "siteLinksQueryInput": "", "bingSiteVerification": "", "additionalSitemapUrls": [], "siteLinksSearchTarget": "", "googleSiteVerification": "", "facebookSiteVerification": "", "pinterestSiteVerification": "", "additionalSitemapUrlsDateUpdated": null }, "sourceHandle": null, "sourceSiteId": null, "bundleVersion": "1.0.23", "metaContainers": { "MetaTagContainergeneral": { "data": [], "name": "General", "class": "nystudio107\\seomatic\\models\\MetaTagContainer", "handle": "general", "include": true, "clearCache": false, "description": "General Meta Tags", "dependencies": [] }, "MetaTagContainertwitter": { "data": [], "name": "Twitter", "class": "nystudio107\\seomatic\\models\\MetaTagContainer", "handle": "twitter", "include": true, "clearCache": false, "description": "Twitter Card Meta Tags", "dependencies": [] }, "MetaLinkContainergeneral": { "data": [], "name": "General", "class": "nystudio107\\seomatic\\models\\MetaLinkContainer", "handle": "general", "include": true, "clearCache": false, "description": "Link Tags", "dependencies": [] }, "MetaTagContaineropengraph": { "data": [], "name": "Facebook", "class": "nystudio107\\seomatic\\models\\MetaTagContainer", "handle": "opengraph", "include": true, "clearCache": false, "description": "Facebook OpenGraph Meta Tags", "dependencies": [] }, "MetaTitleContainergeneral": { "data": [], "name": "General", "class": "nystudio107\\seomatic\\models\\MetaTitleContainer", "handle": "general", "include": true, "clearCache": false, "description": "Meta Title Tag", "dependencies": [] }, "MetaJsonLdContainergeneral": { "data": [], "name": "General", "class": "nystudio107\\seomatic\\models\\MetaJsonLdContainer", "handle": "general", "include": true, "clearCache": false, "description": "JsonLd Tags", "dependencies": [] }, "MetaScriptContainergeneral": { "data": [], "name": "General", "class": "nystudio107\\seomatic\\models\\MetaScriptContainer", "handle": "general", "include": true, "position": 1, "clearCache": false, "description": "Script Tags", "dependencies": [] }, "MetaTagContainermiscellaneous": { "data": [], "name": "Miscellaneous", "class": "nystudio107\\seomatic\\models\\MetaTagContainer", "handle": "miscellaneous", "include": true, "clearCache": false, "description": "Miscellaneous Meta Tags", "dependencies": [] } }, "metaGlobalVars": { "ogType": "", "robots": "", "ogImage": "", "ogTitle": "", "language": null, "seoImage": "", "seoTitle": "", "inherited": [], "overrides": [], "seoKeywords": "", "twitterCard": "", "canonicalUrl": "", "ogImageWidth": "", "twitterImage": "", "twitterTitle": "", "ogDescription": "", "ogImageHeight": "", "seoImageWidth": "", "seoDescription": "", "seoImageHeight": "", "twitterCreator": "", "mainEntityOfPage": "", "siteNamePosition": "", "twitterImageWidth": "", "ogImageDescription": "", "ogSiteNamePosition": "", "twitterDescription": "", "twitterImageHeight": "", "seoImageDescription": "", "twitterImageDescription": "", "twitterSiteNamePosition": "" }, "sourceTemplate": "", "metaSitemapVars": { "inherited": [], "overrides": [], "newsSitemap": null, "sitemapUrls": null, "sitemapFiles": null, "sitemapLimit": null, "sitemapAssets": null, "structureDepth": null, "sitemapAltLinks": null, "sitemapPageSize": 500, "sitemapPriority": "", "sitemapChangeFreq": "", "newsPublicationName": "", "sitemapImageFieldMap": [], "sitemapVideoFieldMap": [], "sitemapAssetTransform": null }, "sourceBundleType": "field", "sourceDateUpdated": "2024-05-16T14:06:35+00:00", "metaBundleSettings": { "siteType": "", "ogImageIds": [], "seoImageIds": [], "siteSubType": "", "ogImageField": "", "ogTitleField": "", "ogImageSource": "", "ogTitleSource": "", "seoImageField": "", "seoTitleField": "", "seoImageSource": "fromAsset", "seoTitleSource": "fromCustom", "twitterImageIds": [], "ogImageTransform": false, "seoKeywordsField": "", "siteSpecificType": "", "seoImageTransform": true, "seoKeywordsSource": "fromCustom", "twitterImageField": "", "twitterTitleField": "", "ogDescriptionField": "", "twitterImageSource": "", "twitterTitleSource": "", "ogDescriptionSource": "", "seoDescriptionField": "", "twitterCreatorField": "", "ogImageTransformMode": "crop", "seoDescriptionSource": "fromCustom", "twitterCreatorSource": "", "seoImageTransformMode": "crop", "twitterImageTransform": false, "siteNamePositionSource": "", "ogImageDescriptionField": "", "twitterDescriptionField": "", "ogImageDescriptionSource": "", "ogSiteNamePositionSource": "", "seoImageDescriptionField": "", "twitterDescriptionSource": "", "seoImageDescriptionSource": "fromCustom", "twitterImageTransformMode": "crop", "twitterImageDescriptionField": "", "twitterImageDescriptionSource": "", "twitterSiteNamePositionSource": "" }, "redirectsContainer": [], "sourceAltSiteSettings": [], "frontendTemplatesContainer": { "data": [], "name": null, "class": "nystudio107\\seomatic\\models\\FrontendTemplateContainer", "handle": null, "include": true, "clearCache": false, "description": null, "dependencies": null } }, "d1a195fb-a3f5-4ec9-8ddb-2afe59c2eebe": [ 23982 ], "faa82517-ffbb-4c4d-a14e-d4b209e5e6b1": "[{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-HnInwCoOzF\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-FfVyqY9NIS\",\"content\":{\"fields\":{\"091d8c32-a948-43a8-ad90-5778261b1298\":\"[{\\\"type\\\":\\\"paragraph\\\",\\\"attrs\\\":[],\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"marks\\\":[{\\\"type\\\":\\\"textStyle\\\"}],\\\"text\\\":\\\"The built environment – the places where we live, work, and interact with others – has a defining influence over our ability to lead healthy, fulfilling lives. Our efforts to address the world’s major challenges like inequality, mass migration, and climate change hinge in many ways on what we build, where, how, and for whom. \\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"attrs\\\":[],\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"IHRB’s Built Environment Programme works with civil society, government and business to uphold human rights, creating inclusive, just and sustainable cities.\\\"}]}]\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-n7OzeSLnMW\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-3ObuKteqFq\",\"content\":{\"fields\":{\"a699ac92-8a18-4315-a4a0-cc16beb79b91\":false,\"e30a17b1-0a31-4bb1-98fa-242fb279470a\":\"[]\",\"f3237b5c-94fc-42f0-a8b6-ca81d6034820\":\"Our approach\",\"b5e39a9d-3119-47ce-9987-2059cdc2ad51\":null}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-TWMVT0n1TU\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-FfVyqY9NIS\",\"content\":{\"fields\":{\"091d8c32-a948-43a8-ad90-5778261b1298\":\"[{\\\"type\\\":\\\"paragraph\\\",\\\"attrs\\\":[],\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"We shape policy, advance practice and strengthen accountability by: undertaking research and analysis; developing tools and frameworks; providing training and education; convening multi-stakeholder dialogues; and delivering pilot projects.\\\"}]}]\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-yilEvmMztd\",\"enabled\":false,\"collapsed\":true,\"values\":{\"type\":\"type-QMQZQVDotb\",\"content\":{\"fields\":{\"imageBlock\":[{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-vyajgbKDLb\",\"enabled\":true,\"collapsed\":false,\"values\":{\"type\":\"type-YxiD8Ke8lQ\",\"content\":{\"fields\":{\"caption\":[],\"fullWidth\":\"fullWidth\",\"image\":[\"15160\"]}}}}}],\"a13685e7-a9c1-4e4b-8163-dc75e1666e50\":\"[]\",\"d73298e8-bbca-4c47-a216-71e05adffca2\":\"fullWidth\",\"a8d44682-288a-483e-9057-bcd716193925\":\"[]\"}}}}},{\"type\":\"vizyBlock\",\"attrs\":{\"id\":\"vizy-block-LmaF7Cw9m1\",\"enabled\":false,\"collapsed\":true,\"values\":{\"type\":\"type-4H7p2wvRXV\",\"content\":{\"fields\":{\"0fea0061-6488-499f-8e2c-ba5fb74fd314\":\"[{\\\"type\\\":\\\"verbb\\\\\\\\hyper\\\\\\\\links\\\\\\\\Asset\\\",\\\"handle\\\":\\\"default-verbb-hyper-links-asset\\\",\\\"linkValue\\\":[15161],\\\"linkSiteId\\\":1}]\",\"c46375d8-79eb-437e-99ed-78b424eea6a0\":\"color\"}}}}}]" }

laneigemud1990 avatar Sep 03 '25 08:09 laneigemud1990

That's very, very strange - still not able to replicate that issue, sorry!

I'll keep at it, but just on the off-chance you'd be able to share your database, that'd be more than amazing. If you can, shoot through to [email protected].

engram-design avatar Sep 10 '25 11:09 engram-design

Hi bud,

There's been a bit of development, we found that if we re-applied all the project config, it would stop the error from throwing a 500 on the FE an admin so we could access the page at least, but we still have an error which stops us from editing the vizy content in the admin (See screenshot).

I have sent you the database file.

Image

laneigemud1990 avatar Sep 10 '25 14:09 laneigemud1990

@engram-design Hi there - any progress on this?

laneigemud1990 avatar Sep 30 '25 13:09 laneigemud1990

@laneigemud1990 I think the database may have gotten lost in our support - sorry! If you're able to send that again, that'd be great.

But that "Unable to parse block definition" error is typically either the Vizy block fields are invalid, or the content for that block is invalid.

engram-design avatar Oct 04 '25 02:10 engram-design