error exporting static site

Hello,

trying to export the static site we get the following error:
TypeError: StaticSiteExport\Entity\StaticSite::getName(): Return value must be of type string, null returned in /var/www/html/omeka-s/modules/StaticSiteExport/src/Entity/StaticSiteEntity.php:131

Can you help us finding what we did wrong?

Many thanks for your help.
Marco

Thanks for reporting this. A new release will be available tomorrow that should fix the bug (v1.2.0).

1 Like

Hello,
Thank you very much for your prompt answer and for the fix! Now we are able to export the website.

Unfortunately, when we launch hugo command to complete the process, we get a new error that I put below:

Error: error building site: process: readAndProcessContent: “/var/www/html/omeka-s/sito_statico/biblioteca-farneta-1770458030/content/items/250293/blocks/0000-values.md:7:3”: failed to extract shortcode: template for shortcode “omeka-literal” not found

We are using a local installation of Omeka-S with custom ontology module to add our own fields.

Could you please, help us on this too?

Many thanks for your help! We really appreciate that.

What version of Hugo are you using? For Static Site Export versions past 1.0.0, you must use Hugo version 0.146.0 or greater.