Giter VIP home page Giter VIP logo

contao-easy_themes's Introduction

easy_themes

No Maintenance Intended

We don't use this Contao extension in any of our projects anymore and thus, maintaining it makes no sense for us. Feel free to fork this project or just use the personal favorites feature introduced in Contao 5.1.

contao-easy_themes's People

Contributors

andreasisaak avatar aschempp avatar discordier avatar dmolineus avatar koertho avatar meier-simon avatar qzminski avatar rabauss avatar salteax avatar toflar avatar tristanlins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contao-easy_themes's Issues

easy_themes stört install.php

Besteht keine Datenbankverbindung, stört easy_themes das Install-Tool. (Mit dem man neue Daten eintragen könnte.) Er versucht auf die Datenbank zuzugreifen, vermutlich um Usereinstellungen zu suchen. Das führt zur Nichtbenutzbarkeit des Install-Tools, weil einem das immer einen PHP-Datenbankfehler wirft.

Ich kann mir vorstellen, dass das noch mehr krude Seiteneffekte hat. Daher würde ich bitten eine Prüfung einzubauen, die easy_themes beim Laufen der install.php bis auf die DCA komplett deaktiviert.

Interner Titel für easy_themes & Aktivierung im Benutzerprofil schlagen fehl

Contao 4.4.3 (nackte Installation)
easy_themes 2.2.6
manager: 1.0 beta 10

Problem:
Bei Vergabe eines internen Titels erscheint:

An exception occurred while executing 'UPDATE tl_theme SET easy_themes_internalTitle='' WHERE id...

Beim Versuch easy_themes in den Benutzereinstellungen zu aktivieren, hängt sich das System mit dem Overlay "Die Daten werden geladen" auf.

Password changed after activating easy_themes

I installed Contao 4.10 and added a Contao backend user admin. After activating easy_themes in that profile, the password in the database changed to "*****".
Thank you in advance for checking it out.
Petra

Error after login into the backend

PHP 8, Contao 4.13.4

TypeError:
sprintf(): Argument #1 ($format) must be of type string, null given

  at vendor/terminal42/contao-easy_themes/src/Helper.php:128
  at sprintf(null, 1)
     (vendor/terminal42/contao-easy_themes/src/Helper.php:128)
  at Terminal42\EasyThemesBundle\Helper->prepareBackendNavigationArray()
     (vendor/terminal42/contao-easy_themes/src/EventListener/UserNavigationListener.php:43)
  at Terminal42\EasyThemesBundle\EventListener\UserNavigationListener->__invoke(array('content' => array('class' => 'group-content node-expanded', 'title' => 'Bereich schließen', 'label' => 'Inhalte', 'href' => …
     (vendor/contao/core-bundle/src/Resources/contao/classes/BackendUser.php:560)
  at Contao\BackendUser->navigation()
     (vendor/contao/core-bundle/src/EventListener/Menu/BackendMenuListener.php:66)
  at Contao\CoreBundle\EventListener\Menu\BackendMenuListener->buildMainMenu(object(MenuEvent), object(BackendUser))
     (vendor/contao/core-bundle/src/EventListener/Menu/BackendMenuListener.php:56)
  at Contao\CoreBundle\EventListener\Menu\BackendMenuListener->__invoke(object(MenuEvent), 'contao.backend_menu_build', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(MenuEvent), 'contao.backend_menu_build', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'contao.backend_menu_build', object(MenuEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(MenuEvent), 'contao.backend_menu_build')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(MenuEvent), 'contao.backend_menu_build')
     (vendor/contao/core-bundle/src/Menu/BackendMenuBuilder.php:42)
  at Contao\CoreBundle\Menu\BackendMenuBuilder->buildMainMenu(array())
     (vendor/knplabs/knp-menu/src/Knp/Menu/Provider/LazyProvider.php:45)
  at Knp\Menu\Provider\LazyProvider->get('be_menu', array())
     (vendor/knplabs/knp-menu/src/Knp/Menu/Provider/ChainProvider.php:26)
  at Knp\Menu\Provider\ChainProvider->get('be_menu', array())
     (vendor/knplabs/knp-menu/src/Knp/Menu/Twig/Helper.php:67)
  at Knp\Menu\Twig\Helper->get('be_menu', array())
     (vendor/knplabs/knp-menu/src/Knp/Menu/Twig/Helper.php:164)
  at Knp\Menu\Twig\Helper->castMenu('be_menu')
     (vendor/knplabs/knp-menu/src/Knp/Menu/Twig/Helper.php:99)
  at Knp\Menu\Twig\Helper->render('be_menu', array(), null)
     (vendor/knplabs/knp-menu/src/Knp/Menu/Twig/MenuExtension.php:91)
  at Knp\Menu\Twig\MenuExtension->render('be_menu')
     (var/cache/dev/twig/30/300562a3eb40f85af0e1ad3325ae924d.php:54)
  at __TwigTemplate_0c75d7b382962d2da9f24845879670ef->doDisplay(array('app' => object(AppVariable)), array())
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling(array('app' => object(AppVariable)), array())
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display(array())
     (vendor/twig/twig/src/Template.php:379)
  at Twig\Template->render(array(), array())
     (vendor/twig/twig/src/TemplateWrapper.php:40)
  at Twig\TemplateWrapper->render(array())
     (vendor/twig/twig/src/Environment.php:277)
  at Twig\Environment->render('@ContaoCore/Backend/be_menu.html.twig')
    (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:264)
  at Contao\BackendMain->compileTemplateData(array('version' => 'Version 4.13.4', …
     (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:220)
  at Contao\BackendMain->output()
     (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:172)
  at Contao\BackendMain->run()
     (vendor/contao/core-bundle/src/Controller/BackendController.php:49)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (vendor/symfony/http-kernel/HttpKernel.php:152)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:44)

PHP 8.0.2 -> sprintf(): Argument #1 ($format) must be of type string, array given

Can't access the Contao backend (V 4.11.0) after upgrading to php V8.0.2, error message:

[2021-02-24T08:36:05.898081+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "sprintf(): Argument #1 ($format) must be of type string, array given" at /var/www/clients/clientXYZ/webXYZ/web/vendor/terminal42/contao-easy_themes/EasyThemes.php line 197 {"exception":"[object] (TypeError(code: 0): sprintf(): Argument #1 ($format) must be of type string, array given at /var/www/clients/clientXYZ/webXYZ/web/vendor/terminal42/contao-easy_themes/EasyThemes.php:197)"} []

Contao 4.4.1 v2.2.3 mode DOM-Inject not visible

Wenn Layout geöffnet ist, dann ist die ul#easy_themes zwar im DOM vorhanden, aber an der flaschen Stelle

<div id="container" class="cf">
  <ul id="easy_themes" ...

anstatt hier

<ul class="tl_level_2">
  <li><a ... >Themes</a>
    <ul id="easy_themes" ...

Und sie ist auf display:none. Also unsichtbar. Erst beim Zu- und dann wieder Aufklappen wird sie sichtbar und an die richtige Stelle gebracht.

Contao 4.9 and ArrayUtil

The extension is currently unlocked for Contao 4.9. However it uses Contao\ArrayUtil, which is only available in Contao 4.10 and higher.

error on version jump 2.1.3 to 2.2.0

Just updated easy_themes in Contao 3.5.6 with ER1 from 2.1.3 to 2.2.0 with following error on update process

Fatal error: Uncaught exception Exception with message Query error: Unknown column
'easy_themes_internalTitle' in 'field list' (SELECT name,easy_themes_internalTitle FROM
tl_theme WHERE id=2) thrown in system/modules/core/library/Contao/Database/Statement.php
on line 295

#0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 system/modules/easy_themes/EasyThemes.php(149): Contao\Database\Statement->execute(2)
#2 system/modules/easy_themes/EasyThemes.php(237): EasyThemes->prepareBackendNavigationArray(true)
#3 system/modules/core/classes/BackendUser.php(584): EasyThemes->modifyUserNavigation(Array, false)
#4 system/modules/core/controllers/BackendMain.php(228): Contao\BackendUser->navigation()
#5 system/modules/core/controllers/BackendMain.php(135): Contao\BackendMain->output()
#6 contao/main.php(20): Contao\BackendMain->run()
#7 {main}

There is no field easy_themes_internalTitle in tl_theme

Darstellungsfehler in Contao 4

easy_themes

<div class="tl_checkbox_single_container widget">

Durch das Löschen der CSS-Klasse tl_checkbox_single_container wird es richtig angezeigt.

Contao 5.0.x

When I install the extension "contao-easy_themes" under Contao 5.0.3, I only get an error message in the Contao Manager when trying to install. Is an adjustment to Contao 5.x planned?

Resolving dependencies using Composer Cloud v3.5.0
!!! Current server is sponsored by: terminal42 gmbh !!!
[6.5MiB/0.20s] Loading composer repositories with package information
[56.2MiB/7.23s] Updating dependencies
[73.0MiB/7.47s] Your requirements could not be resolved to an installable set of packages.
[73.0MiB/7.47s]
Problem 1
- Root composer.json requires terminal42/contao-easy_themes ^3.0 -> satisfiable by terminal42/contao-easy_themes[3.0.0, 3.0.1, 3.0.2].
- terminal42/contao-easy_themes[3.0.0, ..., 3.0.2] require contao/core-bundle ^4.9 -> found contao/core-bundle[4.9.0, ..., 4.13.11] but these were not loaded, likely because it conflicts with another require.
[73.0MiB/7.47s] Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
[33.0MiB/7.50s] Memory usage: 32.96MB (peak: 153.78MB), time: 7.51s.
[33.0MiB/7.50s] Finished Composer Cloud resolving.

Cloud Job ID ywvtFVj4ex3MhpjlxOETKSLdx1Nz1ZNkk4yZRD26YFaWQESDimxnwvZp8ZamTdNAVNXaVIZ18crsAYZZ9CRV3Ed failed

"menatwork/contao-multicolumnwizard" required?

Hallo,

ich habe eben den Branch hotfix/2.2.4 getestet. Kann es sein das die Extension menatwork/contao-multicolumnwizard erforderlich ist um die CSS Klasse version_4-4 nutzen zu können?

So wie ich es im Moment sehe wird diese Klasse nur durch contao-multicolumnwizard gesetzt:

/* File: MultiColumnWizardHelper.php - Row: 41 */
$objTemplate->ua .= ' version_' . str_replace('.', '-', VERSION) . '-' . str_replace('.', '-', BUILD);

Version 3.1.1 not compatible with contao 4.9

Commit 461e60f breaks the compatibility with contao version 4.9. The cause of this seems to be the use of the method 'getDefaultTokenValue()' which only exists in contao versions that are more recent than version 4.9.

Undefined Variable, undefined Array - Fehler bei Hoster NetCup

Guten Tag Zusammen,

im Zusammenhang mit einem "composer update" wird beim Hoster NetCup die SESSION nicht aufgebaut und mehrere Fehler von "easyThemes" gemeldet.

Warning: Undefined global variable $TL_EASY_THEMES_MODULES in /httpdocs/contao_cms/vendor/terminal42/contao-easy_themes/config/config.php on line 65

Warning: Undefined array key "do" in /httpdocs/contao_cms/vendor/terminal42/contao-easy_themes/config/config.php on line 78

Warning: Undefined array key "do" in /httpdocs/contao_cms/vendor/terminal42/contao-easy_themes/config/config.php on line 80 09:47:46 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --ansi". Message: "Failed to start the session because headers have already been sent by "/httpdocs/contao_cms/vendor/terminal42/contao-easy_themes/config/config.php" at line 65." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod --ansi","message" => "Failed to start the session because headers have already been sent by "/httpdocs/contao_cms/vendor/terminal42/contao-easy_themes/config/config.php" at line 65."]

Hoster: NetCup Webhostimg 8000
PHP-Version: 8.1
Contao: 4.13.1

Wenn mehr Info´s benötigt werden, gerne melden.

Gruß
tschero

Backend Login - Internal Server Error - after Update 3.5 -> 4.13

PHP 7.4

Error after Backend-Login:
parse_str() expects parameter 1 to be string, null given

Logs:
[2022-05-12T08:55:38.284614+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "parse_str() expects parameter 1 to be string, null given" at /www/htdocs/…/vendor/terminal42/contao-easy_themes/src/Helper.php line 221 {"exception":"[object] (TypeError(code: 0): parse_str() expects parameter 1 to be string, null given at /www/htdocs/…/vendor/terminal42/contao-easy_themes/src/Helper.php:221)"} []

Solution:
Remove [contao-easy_themes], delete DB-fields, reinstall [contao-easy_themes], update DB.

Bildschirmfoto 2022-05-12 um 09 10 02

Darstellung bei eingeklappte Layoutmenü

Moin
easy_themes

kann es sein, dass sich bei easy.themes ein Fehler eingeschlichen hat?

Wenn ich den Layoutbereich einklappe, sieht zunächst erst mal alles gut aus, Sobald ich aber weiterarbeite und einen beliebigen Menüpunkt in der linken Navigationsleiste anklicke, erscheint das easy_themes-Menü über der Navigation.

Contao 3.5.17
easy_themes: 2.2.1 (DOM-Inject)

Anzeigefehler mit Contao 4.8

Mit Contao 4.8 werden die Namen der verfügbaren Module nicht mehr korrekt angezeigt. Im Profil stehen irgendwie nur noch die Anfangsbuchstaben (wobei bei Module ein "F" steht statt einem "M")

Bildschirmfoto 2019-08-15 um 15 04 48

In der Navi dann natürlich das selbe.

Bug mit ET 2.1.0.9002 (per Composer) mit Contao 3.3.7

Hi,

ich habe in eine frische Contao-Installtion ET per Composer eingeladen - nach Aktivierung kommen dv. Fehler zum Vorschein:

  1. bei Aktive Module kommen 6 Checkboxen => also nach Seitenlayouts noch eine ohne Beschriftung (im Quelltext steht was von Image-Size...)

2.a) auf der Konsole kommt Fehlermeldung: Uncaught ReferenceError: EasyThemes is not defined

2.b) demzufolge werden die Icons links über Backend-Navigation angezeigt (funktionieren aber) - aber nicht wo sie hin gehören...

DOM-Inject unter 2.11.6

In 2.11.6 erhalte ich eine "Could not call inject on null" Fehlermeldung, wenn ich DOM-Inject verwende.

Add image sizes to active modules

Since Contao 3.4 there is a new module "image sizes", can you please add the possibility to choose this one as well.

bildschirmfoto 2014-12-12 um 18 12 19

Thank you very much for this great extension.

Modus Backend Module - fehlerhafte ".active" Markierung

Wenn man den Modus Backend Module verwendet und zum Beispiel in den Bereich "Seitenlayouts" aufruft so wird im rechten Menü unter dem Punkt "Layout" der Punkt "Themes" mit der CSS Klasse .active markiert und von Easy Themes der Punkt "Seitenlayouts". Soweit so gut.

Wenn man nun aber ein Seitenlayout bearbeitet wird auch der Menüpunkt "Theme bearbeiten" von Easy Theme als aktiv markiert.

Wenn man ein Modul bearbeite ist kein Menüpunkt mehr von Easy Theme als aktiv markiert.

bildschirmfoto

Bereich offen/geschlossen Status wird nicht gespeichert

Wenn man easy_themes als Backend Modul nutzt erscheint ja links im Contao 4.4 Menü ein neuer Bereich. Durch einen Klick auf den Namen des Themes wird dieser Bereich geschlossen oder wieder geöffnet. Der aktuelle Status, ob geschlossener oder geöffneter Bereich, wird jedoch nicht gespeichert. Wenn man die Seite neu lädt, ist der Bereich immer geöffnet.

Compile Error: Cannot declare class EasyThemesRunOnce, because the name is already in use

Nach dem Upgrade auf Contao 4.9 ist beim erstmaligen Aufruf des Installtools folgender Fehler aufgetreten:

[2020-02-18 21:47:58] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\InstallationBundle\Controller\InstallationController::installAction"},"request_uri":"https://xxx/contao/install","method":"GET"} []
[2020-02-18 21:47:58] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\FatalError: "Compile Error: Cannot declare class EasyThemesRunOnce, because the name is already in use" at /www/htdocs/xxx/vendor/terminal42/contao-easy_themes/runonce/runonce.php line 0 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Compile Error: Cannot declare class EasyThemesRunOnce, because the name is already in use at /www/htdocs/xxx/vendor/terminal42/contao-easy_themes/runonce/runonce.php:0)"} []

ET influences Download of files in unpublished foldes

It seems that easy themes has influence on downloads in unpublished folders.

They do not work properly when easy themes is installed.
I have experienced these problems in multiple installations now and as soon as et is deinstalled the download works.

Environment:
php 7.4
Contao Version > 4.4.28 and 4.9 all Versions.

Perhaps it is worth checking as I have detected no other correlations as a cause.

Easythemes Backend Module does not work in Contao 4.5.0

I use Easythemes for a long time as Backend-Module in the Layout group. Everything was fine so far unless I updated to Contao 4.5.0.
In case I click onto one of the "Easythemes" menu items e.g. "Theme bearbeiten" or "Module" etc., Contao only opens the "Themes" menu located above ... where I can choose the corresponding menu item from the icons at the right site. Contao does not longer switch directly to the edit mode chosen in Easythemes menu. Hope, I could make myself clear somehow?!

Fehler bei cache warmup

Ich bekomme folgende Fehlermeldung nach der Paketaktualisierung in Contao Manager:

cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception

In ScriptHandler.php line 113:
                                                                               
  An error occurred while executing the "cache:warmup" command: 16:40:56 ERRO  
  R     [console] Error thrown while running command "cache:warmup --env=prod  
  ". Message: "RecursiveDirectoryIterator::__construct(/mnt/XXXX/d1/93/XXXX  
  7693/htdocs/contao4/system/modules/easy_themes/languages/de): failed to ope  
  n dir: Too many open files" ["exception" => UnexpectedValueException { …},"  
  command" => "cache:warmup --env=prod","message" => "RecursiveDirectoryItera  
  tor::__construct(/mnt/XXXX/d1/93/XXXX/htdocs/contao4/system/modules/e  
  asy_themes/languages/de): failed to open dir: Too many open files"]          
                                                                               
  In RecursiveDirectoryIterator.php line 52:                                   
 
  RecursiveDirectoryIterator::__construct(/mnt/XXXX/d1/93/XXXX/htdocs  
  /contao4/system/modules/easy_themes/languages/de): failed to open dir: Too   
  many open files                                      

Call to undefined method Contao\System::getContainer()

Fatal error: Uncaught exception Error with message Call to undefined method Contao\System::getContainer() thrown in composer/vendor/terminal42/contao-easy_themes/EasyThemes.php on line 167
#0 composer/vendor/terminal42/contao-easy_themes/EasyThemes.php(82): EasyThemes->prepareBackendNavigationArray(false)
#1 composer/vendor/terminal42/contao-easy_themes/EasyThemes.php(59): EasyThemes->generateContainerContent()
#2 system/modules/core/classes/BackendTemplate.php(42): EasyThemes->addContainer('...', 'be_main')
#3 system/modules/core/classes/BackendTemplate.php(110): Contao\BackendTemplate->parse()
#4 system/modules/core/controllers/BackendMain.php(275): Contao\BackendTemplate->output()
#5 system/modules/core/controllers/BackendMain.php(135): Contao\BackendMain->output()
#6 contao/main.php(20): Contao\BackendMain->run()
#7 {main}

Contao: 3.5.40
easy_themes: 2.2.10.
PHP: 7.2

Introduced with this commit: 0744a4a.

easythemes error with Contao 5.1.x

When I activate easythems under Contao 5.1.x, the error message comes up "Internal Server Error - Was ist das Problem? - Undefined constant "Terminal42\EasyThemesBundle\REQUEST_TOKEN" comes up. Can you fix this please? Many thanks.

Runtime exception in constructor when called without request

These lines ...

if (TL_MODE !== 'BE'
|| BackendUser::getInstance()->et_enable != 1
|| !BackendUser::getInstance()->hasAccess('themes', 'modules')
|| Input::get('popup')
) {

.. are leading to an runtime exception if the request stack does not contain a request (in Contao\User\loadUserByUsername). This is for example the case when Contao's poor man cron job gets executed from the backend.

Update to contao-bundle

Can you update the extension to a contao-bundle? This would remove the dependency on the the composer plugin.

update to 3.0

After upgrading to 3.0 with contao 4.9.25 the backend comes with an Internal Server Error "parse_str() expects parameter 1 to be string, null given"
log:
request.CRITICAL: Uncaught PHP Exception TypeError: "parse_str() expects parameter 1 to be string, null given" at D:\laragon4\www\cto44\vendor\terminal42\contao-easy_themes\src\Helper.php line 221 {"exception":"[object] (TypeError(code: 0): parse_str() expects parameter 1 to be string, null given at D:\laragon4\www\cto44\vendor\terminal42\contao-easy_themes\src\Helper.php:221)"} []

Eeasy Themes as Backend Module still not working ...

If one uses Easythemes as Backend-Module e.g. in the Layout group in Contao 4.5.4, clicking on any menu item simply jumps to "Layout - Themes".

ET used on mouseover or context menu is working w/o problems.

Warning: Undefined global variable $TL_EASY_THEMES_MODULES only in Debug Mode

Wenn ich den Debug Mode im Backend aktiviere bekomme ich folgenden Fehler im Backend:

ErrorException HTTP 500 Internal Server Error Warning: Undefined global variable $TL_EASY_THEMES_MODULES ExceptionLogs 1Stack Trace ErrorException in vendor/terminal42/contao-easy_themes/config/config.php (line 65) in vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php include (line 179) in vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php -> initialize (line 144) in vendor/contao/core-bundle/src/Framework/Adapter.php :: getInstance (line 44) in vendor/contao/core-bundle/src/Framework/ContaoFramework.php -> __call (line 301) in vendor/contao/core-bundle/src/Framework/ContaoFramework.php -> initializeFramework (line 158) in vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php -> initialize (line 69) in vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php -> loadUserByUsername (line 88) in vendor/symfony/security-http/Firewall/ContextListener.php -> refreshUser (line 236) in vendor/symfony/security-http/Firewall/ContextListener.php -> refreshUser (line 137) in vendor/symfony/security-bundle/Debug/WrappedLazyListener.php -> authenticate (line 49) in vendor/symfony/security-http/Firewall/AbstractListener.php -> authenticate (line 26) in vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php -> __invoke (line 73) in vendor/symfony/security-http/Firewall.php -> callListeners (line 92) in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelRequest (line 117) in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 230) in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 59) in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 154) in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 128) in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 74) in vendor/symfony/http-kernel/Kernel.php -> handle (line 202) Kernel->handle() in web/index.php (line 31) $loader = require __DIR__.'/../vendor/autoload.php';$request = Request::createFromGlobals();$kernel = ContaoKernel::fromRequest(\dirname(__DIR__), $request);$response = $kernel->handle($request);$response->send();if ($kernel instanceof TerminableInterface) { $kernel->terminate($request, $response);}
PHP 8.1.0
Contao 4.12.4

No DOM-Inject with Contao 4.4.2, Contao Manager Beta 10 and Easy Themes 2.2.6

With Contao 4.4.2 there is no more DOM-Inject. I can activate Easy Themes 2.2.6 in the user settings, but the theme with its submenu is not visible anymore.

There was no problem with Contao 4.4.1 and Easy Themes 2.2.5.

bildschirmfoto 2017-07-26 um 10 09 44

I also removed Easy Themes and did a new installation via Contao Manager, but the Dom-Inject still doesn't work.

Details of my user settings:

bildschirmfoto 2017-07-26 um 10 35 53

I have the same szenario on a second Contao installation and there Easy Themes works like a charm. Same constellation: All-Inkl as provider, Contao 4.4.2, Contao Manager Beta 10 and also Easy Themes 2.2.6:

bildschirmfoto 2017-07-26 um 10 28 26

Details of my user settings here in the installation:

bildschirmfoto 2017-07-26 um 10 36 54

Update to Contao 4.13 and easy_themes v2/v3 failed

My update to Contao 4.13 and PHP 8 with easy_themes v2 or v3 could not be finished, because of the following error:

In service_unavailable.html.twig line 4:
                                                                                                                                   
  An exception has been thrown during the rendering of a template ("Warning: Undefined global variable $TL_EASY_THEMES_MODULES").  
                                                                                                                                   

In config.php line 65:
                                                              
  Warning: Undefined global variable $TL_EASY_THEMES_MODULES  

The extension will be installed, but the manager quit on vendor/bin/contao-console contao:maintenance-mode enable

Do you have any hint for me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.