Sure, here is an example with the famous GIN theme.
If it was my own custom backend theme I would change it with some simple CSS but since this theme is widely used I thought it might be a good idea to be able to select where to show the popup for more flexibility.
with the new feature I see an error message inside my console;
(not sure if I should open a new issue tho)
drupal.js?v=10.2.5:64 Uncaught TypeError: swipers[swiperContainer.id].on is not a function
at swiper_formatter.js?v=10.2.5:44:45
at Array.forEach (<anonymous>)
at Object.attach (swiper_formatter.js?v=10.2.5:29:67)
at drupal.js?v=10.2.5:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.2.5:162:34)
at big_pipe.js?v=10.2.5:153:10
at big_pipe.js?v=10.2.5:184:3
Nice work, you guys rock :)
I'll go with the dev version then.
Smart ip is on 5.0.0-alpha3 now. So this module cannot be installed.
This might be related;
Warning: Undefined variable $mail_config in Drupal\user\AccountSettingsForm->buildForm() (line 289 of /var/www/website.com.tr/web/core/modules/user/src/AccountSettingsForm.php)
#0 /var/www/website.com.tr/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
#1 /var/www/website.com.tr/web/core/modules/user/src/AccountSettingsForm.php(289): _drupal_error_handler()
#2 [internal function]: Drupal\user\AccountSettingsForm->buildForm()
#3 /var/www/website.com.tr/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
#4 /var/www/website.com.tr/web/core/lib/Drupal/Core/Form/FormBuilder.php(283): Drupal\Core\Form\FormBuilder->retrieveForm()
#5 /var/www/website.com.tr/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#6 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#7 /var/www/website.com.tr/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#8 /var/www/website.com.tr/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#9 /var/www/website.com.tr/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#10 /var/www/website.com.tr/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#11 /var/www/website.com.tr/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 /var/www/website.com.tr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#13 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#14 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#15 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#16 /var/www/website.com.tr/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#17 /var/www/website.com.tr/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#18 /var/www/website.com.tr/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#19 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#20 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#21 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#22 /var/www/website.com.tr/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#23 /var/www/website.com.tr/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#24 /var/www/website.com.tr/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#25 {main}
RgnYLDZ → created an issue.
This could be usefull, I also have a case where users can upgrade their licences. So the old one should be removed.
Nice, seems to be working now.
Great work buddy :)
Any update on this ?
For those who stumble on this there is a path token where we could get the node id under Current page > URL > Unaliased URL > Arguments
[current-page:url:unaliased:args:1]
The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1').
I manually applied the changes in the merge and seems to be working just fine with 4.1.6 . I believe this could be inside the module since google does not care anymore about these metrics.
If not could someone provide a patch?
I can confirm this. The user is anonymous if the website has Guest checkout enabled and user choses to checkout as guest. Thus no user related info is visible inside the mail like [commerce_order:uuid:value] , [current-user:display-name] or[commerce_order:billing_profile]
After loging in with the same user (password reset) and make a new order, all the tokens are visible in the mail.
RgnYLDZ → created an issue. See original summary → .
I can confirm that the html structure is better and consistant now with the new version. Appreciate the work guys, thanks a lot ;)
It would be nice to have this in-module but an alternative would be to use symfony mailer where we can already use templates for certain policies. And this module already suggests to use symfony mailer.
RgnYLDZ → created an issue.
I think I have a similar problem. I recently did backup my site with jetbackup on a2hosting.
I looked at the files you mentioned and they were there (guess they fixed it) but I got another kind of error. The reason I wanted to revert to a previous backup was that drupal somehow for my products did not print the correct twig view-mode template I specified inside views but rather the default dipslay. This happens after I clear my cache.
when I do revert back I get the same error;
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "tag" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: search_api_tag, search_api_time in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
I got back from my own backups but the template thing still is there to sort out.
After this patch I'm getting the below error when an email is sent with commerce_email on a status change for example;
Error: Call to a member function fromArray() on null in Drupal\symfony_mailer\MailManagerReplacement->mail() (line 89 of modules/contrib/symfony_mailer/src/MailManagerReplacement.php).
Drupal\commerce\MailHandler->sendMail() (Line: 88)
Drupal\commerce_email\EmailSender->send() (Line: 180)
Drupal\commerce_email\EventSubscriber\EmailSubscriber->sendEmail() (Line: 139)
Drupal\commerce_email\EventSubscriber\EmailSubscriber->onEvent()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 422)
Drupal\state_machine\Plugin\Field\FieldType\StateItem->dispatchTransitionEvent() (Line: 389)
Drupal\state_machine\Plugin\Field\FieldType\StateItem->postSave()
call_user_func_array() (Line: 233)
Drupal\Core\Field\FieldItemList->delegateMethod() (Line: 198)
Drupal\Core\Field\FieldItemList->postSave()
call_user_func_array() (Line: 938)
Drupal\Core\Entity\ContentEntityStorageBase->invokeFieldMethod() (Line: 970)
Drupal\Core\Entity\ContentEntityStorageBase->invokeFieldPostSave() (Line: 896)
Drupal\Core\Entity\ContentEntityStorageBase->invokeHook() (Line: 56)
Drupal\commerce\CommerceContentEntityStorage->invokeHook() (Line: 81)
Drupal\commerce_order\OrderStorage->invokeHook() (Line: 564)
Drupal\Core\Entity\EntityStorageBase->doPostSave() (Line: 781)
Drupal\Core\Entity\ContentEntityStorageBase->doPostSave() (Line: 489)
Drupal\Core\Entity\EntityStorageBase->save() (Line: 804)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 159)
Drupal\commerce_order\OrderStorage->save() (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 123)
Drupal\state_machine\Form\StateTransitionConfirmForm->submitForm()
call_user_func_array() (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597)
Drupal\Core\Form\FormBuilder->processForm() (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult() (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 270)
Drupal\shield\ShieldMiddleware->bypass() (Line: 226)
Drupal\shield\ShieldMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 692)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Using commerce_email v1.1
Hello, is this issue fixed? Do we have a release for drupal 10?
Sorry for my late response, I'm not sure actually, because its kind of random. Sometimes when some comfings are imported. sometimes when cache is cleared ans sometimes just when working on the admin area.
I'm also not sure if this is a module issue or incompatibility issue with another module/config.
I ended up removing the module and use regular regions for my project.
But what happens is;
All blocks inside any block group got disabled and moved to my "Header" region. So I have to manually enable and place the plocks to the block groups again.
Any update on RTBC?
I get the same error. I created credentials for live on paypal. But it's not accepting the client ID nor the secret key in drupal. Do we have a waiting period before the api keys are activated? Maybe like 5-10 hours or so? Or maybe some other setting inside paypal?
When I try to clear cache with drush I get the below error. Drupal10 and php 8.1
In EntityTypeManager.php line 256:
The "commerce_shipping_method" entity type did not specify a translation handler.
Also this is causing the site to constantly give WSOD
How can I test the module for D10? I cannot get it with composer. I like to test it.
Or can we have a dev version?
You are awesome :) I can see the class definitions based on my swiper template.
Yes I could use templates but I try to keep it as much drupal as it is.
Thanks
RgnYLDZ → created an issue.
Is there any other way to customize the product variation? For example print the id of the selected variation?
#148 🐛 Fix label token replacement for views entity reference arguments RTBC did not apply with drupal 10.0.9 and PHP 8.1
Thanks for the patch, will this be commited soon?
Followed instructions given in https://www.drupal.org/docs/8/modules/telephone-international-widget/ins... →
But still get composer errors;
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires intl-tel-input/intl-tel-input 16.0.0 -> satisfiable by intl-tel-input/intl-tel-input[16.0.0].
- intl-tel-input/intl-tel-input 16.0.0 requires composer/installers ~1.0 -> found composer/installers[v1.0.0, ..., v1.12.0] but it conflicts with your root composer.json require (^2.0).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/telephone_international_widget:*" to figure out if any version is installable, or "composer require drupal/telephone_international_widget:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Hey rakesh.regar,
I can confirm the patch works fine with stable release. Thank you very much.
Not sure if its relavent with this but after I updated to dev version I get WSOD on thread view page with the below message in logs;
ParseError: syntax error, unexpected ')', expecting variable (T_VARIABLE) in Composer\Autoload\includeFile() (line 144 of /home/keratai1/public_html/xxxxx.com/web/modules/contrib/private_message/src/Form/PrivateMessageForm.php) #0 /home/keratai1/public_html/xxxxx.com/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/keratai1/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\private_...')
#2 [internal function]: spl_autoload_call('Drupal\\private_...')
#3 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityType.php(482): class_exists('Drupal\\private_...')
#4 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityType.php(455): Drupal\Core\Entity\EntityType->hasHandlerClass('form', 'add')
#5 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityType.php(515): Drupal\Core\Entity\EntityType->getHandlerClass('form', 'add')
#6 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(206): Drupal\Core\Entity\EntityType->getFormClass('add')
#7 /home/keratai1/public_html/xxxxx.com/web/modules/contrib/private_message/private_message.module(160): Drupal\Core\Entity\EntityTypeManager->getFormObject('private_message', 'add')
#8 [internal function]: private_message_private_message_thread_view(Array, Object(Drupal\private_message\Entity\PrivateMessageThread), Object(Drupal\Core\Entity\Entity\EntityViewDisplay), 'full')
#9 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(426): call_user_func_array(Object(Closure), Array)
#10 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object(Closure), 'private_message')
#11 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(433): Drupal\Core\Extension\ModuleHandler->invokeAllWith('private_message...', Object(Closure))
#12 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(288): Drupal\Core\Extension\ModuleHandler->invokeAll('private_message...', Array)
#13 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(239): Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array)
#14 [internal function]: Drupal\Core\Entity\EntityViewBuilder->build(Array)
#15 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#16 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#17 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#18 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#19 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render(Array, false)
#20 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#21 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(243): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#23 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#24 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#25 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /home/keratai1/public_html/xxxxx.com/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#27 /home/keratai1/public_html/xxxxx.com/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#28 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/keratai1/public_html/xxxxx.com/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/keratai1/public_html/xxxxx.com/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/keratai1/public_html/xxxxx.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/keratai1/public_html/xxxxx.com/web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/keratai1/public_html/xxxxx.com/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#37 {main}.
I also have an edge case for you :)
I created a content type called Campaigns so the admins can create a page containing the promotion information and display it on a page with a reference field to promotions. So they have to only work on one page for all the info like promotion itself and images, descriptions etc.
But inside the node edit page the radio buttons inside the inline entity form(simple) do not work. I presume that the patch is specific for the promotion edit page ?
My mistake, I did not run db update and cleared cache.
Patch seems to apply without any issue bu nothing happens when I click on "Only with the selected promotions" or "Any promotion except the selected promotions"
I'm on drupal 10.0.1, commerce 2.32 and php8.1
This only happens when ipless module is enabled. Site opens normal if module is disabled.
I saw only one similar post about this and it was about the componen(s):
definition here as you suggested .
But inside drupal (9) there are lots of modules still using component:
instead of components:
Below is the full error message I found.
Error: Undefined constant "CSS_COMPONENTS" in constant() (line 180 of /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php)
#0 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(180): constant()
#1 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(87): Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension()
#2 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(66): Drupal\Core\Asset\LibraryDiscoveryCollector->getLibraryDefinitions()
#3 /var/www/uydu/web/core/lib/Drupal/Core/Cache/CacheCollector.php(149): Drupal\Core\Asset\LibraryDiscoveryCollector->resolveCacheMiss()
#4 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(149): Drupal\Core\Cache\CacheCollector->get()
#5 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(111): Drupal\Core\Asset\LibraryDiscoveryCollector->applyLibrariesExtend()
#6 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(66): Drupal\Core\Asset\LibraryDiscoveryCollector->getLibraryDefinitions()
#7 /var/www/uydu/web/core/lib/Drupal/Core/Cache/CacheCollector.php(149): Drupal\Core\Asset\LibraryDiscoveryCollector->resolveCacheMiss()
#8 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscovery.php(44): Drupal\Core\Cache\CacheCollector->get()
#9 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDiscovery.php(58): Drupal\Core\Asset\LibraryDiscovery->getLibrariesByExtension()
#10 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php(68): Drupal\Core\Asset\LibraryDiscovery->getLibraryByName()
#11 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php(70): Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies()
#12 /var/www/uydu/web/core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php(41): Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies()
#13 /var/www/uydu/web/core/lib/Drupal/Core/Asset/AssetResolver.php(104): Drupal\Core\Asset\LibraryDependencyResolver->getLibrariesWithDependencies()
#14 /var/www/uydu/web/core/lib/Drupal/Core/Asset/AssetResolver.php(116): Drupal\Core\Asset\AssetResolver->getLibrariesToLoad()
#15 /var/www/uydu/web/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(312): Drupal\Core\Asset\AssetResolver->getCssAssets()
#16 /var/www/uydu/web/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(158): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries()
#17 /var/www/uydu/web/core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php(94): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments()
#18 /var/www/uydu/web/core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php(45): Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments()
#19 [internal function]: Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond()
#20 /var/www/uydu/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#21 /var/www/uydu/vendor/symfony/http-kernel/HttpKernel.php(202): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#22 /var/www/uydu/vendor/symfony/http-kernel/HttpKernel.php(190): Symfony\Component\HttpKernel\HttpKernel->filterResponse()
#23 /var/www/uydu/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#24 /var/www/uydu/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#25 /var/www/uydu/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#26 /var/www/uydu/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#27 /var/www/uydu/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#28 /var/www/uydu/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#29 /var/www/uydu/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#30 /var/www/uydu/web/modules/contrib/remove_http_headers/src/StackMiddleware/RemoveHttpHeadersMiddleware.php(49): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#31 /var/www/uydu/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle()
#32 /var/www/uydu/web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle()
#33 /var/www/uydu/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#34 {main}
Also a side note; On my other 8.1 server I use drupal10 and everything works fine with ipless. Not sure if this will be helpfull :)
I patched the files manually and it seems to be working fine. Will this be commited into the module ?
I also have a similar issue. Probably related or same. I have multiple currencies. The button patch does not work.
When I remove all products from cart the site gives WSOD and the error message in logs.
Error: Call to a member function getCurrencyCode() on null in Drupal\commerce_currency_resolver\EventSubscriber\CurrencyOrderRefresh->checkCurrency() (line 87 of /home/keratai2/public_html/newjoy.com/web/modules/contrib/commerce_currency_resolver/src/EventSubscriber/CurrencyOrderRefresh.php).
Best way is to change these parts in composer.json;
Change "web-root": "web/"
to "web-root": "./"
Change installer paths starting urls and remove web/
So the final code looks like this;
"drupal-scaffold": {
"locations": {
"web-root": "./"
}
},
"installer-paths": {
"core": [
"type:drupal-core"
],
"libraries/{$name}": [
"type:drupal-library"
],
"modules/contrib/{$name}": [
"type:drupal-module"
],
"profiles/contrib/{$name}": [
"type:drupal-profile"
],
"themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"modules/custom/{$name}": [
"type:drupal-custom-module"
],
"themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
After that run composer install
in your console and the site should be upp and running. Also composer will be available for future updates.
EDIT: Oh, of course move the contents of the web folder one folder up so core, modules,themes,index.php etc are in the same folder as the vendor folder and composer ;)
Hope this helps.
Updated to 7.x-4.18
. Can confirm it's working fine now. Great work you guys :)
Any updates on this? Is there a dev version we can test and give feedback ?