contao-themes-net / odd-theme-bundle

odd theme bundle for contao cms
https://contao-themes.net/theme-detail/odd.html
Other
4 stars 2 forks source link

Unkown option: gallery_gs_grid #24

Closed najbo closed 2 years ago

najbo commented 2 years ago

Bug description

After installing 1.7.1 odd theme, the "gallery_bsgrid" model is not available anymore. Error on frontpage Notice : the bs fields were deleted in the database after 1.7.1 update. Package contao/bootstrap is present in /vendor/contao-bootstrap/grid/

Log file : [2021-12-15 18:46:41] request.CRITICAL: Uncaught PHP Exception Exception: "Could not find template "gallery_bs_grid"" at /home/clients/.../sites/estoppey-addor.ch/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 158 {"exception":"[object] (Exception(code: 0): Could not find template \"gallery_bs_grid\" at /home/clients/.../sites/estoppey-addor.ch/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:158)"} []

Screenshots (article) :

Capture d’écran 2021-12-15 184845

Environment

php 8.0

seibtph commented 2 years ago

Maybe you can try to update the theme. Which contao version do you use? I have tested this in our development page and it works. The gallery_bs_grid template should be exist.

najbo commented 2 years ago

Hi,

I use Contao 4.9.24 on PHP 8.0.13. The error came during update from 1.7 to 1.7.1. As suggested, I updated Odd theme (from contao-manager), but nothing happend.

Results : composer update contao-themes-net/odd-theme-bundle contao/conflicts

Resolving dependencies using Composer Cloud v3.2.0 !!! Current server is sponsored by: Contao Association !!! [7.2MiB/0.19s] Loading composer repositories with package information [67.6MiB/2.29s] Updating dependencies [142.7MiB/52.82s] Lock file operations: 0 installs, 9 updates, 0 removals [142.7MiB/52.83s] - Upgrading beberlei/assert (v3.3.1 => v3.3.2) [142.7MiB/52.83s] - Upgrading doctrine/orm (2.10.3 => 2.10.4) [142.7MiB/52.83s] - Upgrading scheb/2fa-backup-code (v5.13.0 => v5.13.1) [142.7MiB/52.83s] - Upgrading scheb/2fa-bundle (v5.13.0 => v5.13.1) [142.7MiB/52.84s] - Upgrading scheb/2fa-trusted-device (v5.13.0 => v5.13.1) [142.7MiB/52.84s] - Upgrading simplepie/simplepie (1.5.6 => 1.5.7) [142.7MiB/52.84s] - Downgrading symfony/deprecation-contracts (v3.0.0 => v2.5.0) [142.7MiB/52.84s] - Upgrading symfony/service-contracts (v2.4.1 => v2.5.0) [142.7MiB/52.85s] - Upgrading terminal42/escargot (1.3.0 => 1.4.0) [142.0MiB/52.86s] Writing lock file [80.8MiB/52.91s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead. [80.8MiB/52.92s] Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. [80.8MiB/52.92s] Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. [80.8MiB/52.92s] Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. [81.3MiB/52.92s] Memory usage: 81.27MB (peak: 1587.67MB), time: 52.93s. [81.3MiB/52.93s] Finished Composer Cloud resolving.

composer install $ /opt/php8.0/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/clients/xyz/sites/estoppey-addor.ch/web/contao-manager.phar composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 0 installs, 9 updates, 0 removals