🇨🇭Switzerland @Castor-designs

Account created on 22 December 2013, about 11 years ago
#

Recent comments

🇨🇭Switzerland Castor-designs

Thank you so much marcoka. I appreciate you investing your time on this!

🇨🇭Switzerland Castor-designs

Hi @AaronMcHale Sorry for seeing this so late. I've checked my views.settings.yml (core file) but there is no line that contains "metatag" in any way: https://pastebin.com/6rqsH9GR

🇨🇭Switzerland Castor-designs

I get this error as soon as I do anything in composer like uninstall a completely different module. How can I workaround this issue breaking my site as soon as I want to do basically anything?

Hete's my scenario: https://imgur.com/a/frC5mEA

🇨🇭Switzerland Castor-designs

Hello everyone. I ran into this very problem when migrating from drupal 9 to drupal 10 and running updates.
Is there a workaround in the meantime to "unbreak" the site or prevent it in the first place?

🇨🇭Switzerland Castor-designs

Thank you so much Norbert! Last thing: What is happening when I get errors when trying to upgrade to the latest version of a now incompatible module? So I am on Drupal 9.5 and I see that Mailchimp is incompatible.

However, I see that my installed version is 2.1.0-rc1.

The current version is 2.2.2.

So I run: composer require 'drupal/mailchimp:^2.2'

By doing that I hope to patch my old Mailchimp to the latest which hopefully is compatible with Drupal 10 and I have one less module in my incompatible list.

However, this now throws me the following error:

 Problem 1
    - drupal/mailchimp 2.2.0 requires thinkshout/mailchimp-api-php 3.0.0-rc4 -> found thinkshout/mailchimp-api-php[3.0.0-rc4] but it does not match your minimum-stability.
    - drupal/mailchimp[2.2.1, ..., 2.2.2] require thinkshout/mailchimp-api-php 3.0.0 -> found thinkshout/mailchimp-api-php[v3.0.0] but it conflicts with your root composer.json require (^2.1).
    - Root composer.json requires drupal/mailchimp ^2.2 -> satisfiable by drupal/mailchimp[2.2.0, 2.2.1, 2.2.2].

What is happening here?

🇨🇭Switzerland Castor-designs

Thanks Norbert

Actually I am already running Upgade Status I figured and it gives the following report:

    Environment is incompatible: CKEditor (4)
    Remove: 2 projects (Custom Theme Modules for Sliders and such)
    Update: 4 projects
    Collaborate with maintainers: 6 projects (Mailchimp, Ludwig, Simple Image Rotate)
    Fix with rector: 3 projects (Custom Theme Modules)
    Fix manually: 1 project (Custom Theme Module)

I don't quite unterstand this line: "You have to find the version which worked with D9.5 and put this version number in your composer.json file, one at a time. In case trouble occurs, you have only to deal with one module, not with all the dependencies. "

But I think it's because I don't understand how composer works fully.

So you are saying you don't runn all updates, but you go into the composer file and write the latest module number version module after module to see if it works?

How to apply the change once you change the composer.json file? Do you have to run cron or update.php?

🇨🇭Switzerland Castor-designs

Hi nofue, thank you so much.

Ah don't worry. Of course I backed everything up and I only broke my staging.

The thing is: I am already trying to upgrade to Drupal 10. But in terms of gettign to Drupal 10 I was adviced to upgrade all modules inside Drupal 9 first.

That's why I got this error int he first place.

🇨🇭Switzerland Castor-designs

Hi nofue

Wow, thank you very much for your reply, your time and effort! Here is more information:

Any help is much appreciated!

🇨🇭Switzerland Castor-designs

Hi have the exact same problem as OP 4 years later and I am wondering what path I have to put as described here.

My Drupal installation runs inside /home/myname/drupal-installation-folder

So what do I have to put in this json file? thanks in advance.

🇨🇭Switzerland Castor-designs

Hi @marcoka. Thank you so much I missed in last month but will definitely test it! You are awesme.

🇨🇭Switzerland Castor-designs

Hi team. What's the status on this issue? For me Patch from #53 is not working: "Could not apply patch! Skipping. The error was: Cannot apply pat ch https://www.drupal.org/files/issues/2023-01-27/schema_metatag-n2 976935-53.patch"

🇨🇭Switzerland Castor-designs

I tried to apply patch from #82 and got this error (while a different patch works flawlessly):
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-01-05/metatag-n3067803-82.patch

🇨🇭Switzerland Castor-designs

Second topic: As soon as your sentence e. g. in the answer has a comma in it it pivots as well. So if I use fields to populate this section e. g. like this: [term:field_faq:0],[term:field_faq:1],[term:field_faq:2] then as soon as a value of this field has a comma in it e. g. "How long have you been studying English, and what motivated you to start?" it will pivot that but it makes no sense of course.

So is there a way to prevent this?

🇨🇭Switzerland Castor-designs

Hi @marcoka I wanted to ask what the status is regarding the issue. I understand that you have a lot on your plate and I did not mean to stress you out :D thanks for your great work regardless!

🇨🇭Switzerland Castor-designs

Patch works for me as well but definitely should be added to the main version of this module!

🇨🇭Switzerland Castor-designs

Thanks for addressing this. It means a lot to me. It's not clear when it will be phased out. For more information see: https://www.drupal.org/node/3223395#s-ckeditor

🇨🇭Switzerland Castor-designs

Hi both of you. I found the very same problem. It can't be tested because this setting does not allow the user to save the settings. So there is no way to test whether it works. This will be important as with further versions the old CKE will phase out (already has) and CKE 5 is the new standard and implemented in core.

🇨🇭Switzerland Castor-designs

Hello everyone I am using 2.1@alpha and have the same problem as OP.

I enabled the rotate option for the field and yet there is no such icon showing up on edit forms.

🇨🇭Switzerland Castor-designs

Thank you very much for all your work! For me the second latest Beta version manually installed works with the librarie shared by you in this thread. We can close this issue.

🇨🇭Switzerland Castor-designs

Thank you very much @marcoka!
I completely uninstalled the module and started again from scratch. I install the library you linked and then the latest Amazon module (Version: 2.1.0-beta12).
However, I still get the following error in the backend and when visiting pages where I use amazon tokens:

The website encountered an unexpected error. Please try again later.
Error: Cannot use object of type Drupal\Core\Render\Markup as array in Drupal\amazon_pa_filter\Plugin\Filter\AmazonFilter->process() (line 293 of modules/amazon_pa/amazon_pa_filter/src/Plugin/Filter/AmazonFilter.php).

Drupal\amazon_pa_filter\Plugin\Filter\AmazonFilter->process() (Line: 118)
Drupal\filter\Element\ProcessedText::preRenderText()
call_user_func_array() (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 788)
Drupal\Core\Render\Renderer->doCallback() (Line: 374)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 87)
__TwigTemplate_e5b9730da48bbc843781931639e6d952b46abbb193029fcf7a812ad65c0f11ab->doDisplay() (Line: 405)
Twig\Template->displayWithErrorHandling() (Line: 378)
Twig\Template->display() (Line: 390)
Twig\Template->render() (Line: 55)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 433)
Drupal\Core\Render\Renderer->doRender() (Line: 446)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 220)
__TwigTemplate_940aa5ec85d8795e85d016f15a60bea6937dce618d7f236992e93a3ff722fa6d->doDisplay() (Line: 405)
Twig\Template->displayWithErrorHandling() (Line: 378)
Twig\Template->display() (Line: 390)
Twig\Template->render() (Line: 55)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 433)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 718)
Drupal\Core\DrupalKernel->handle() (Line: 19)
🇨🇭Switzerland Castor-designs

Thanks marcoka. How do I find it? I install amazon_pa on a drupal 7 installation with composer and try to find the library and copy that over to the druapl 9 installation? I am a bit confused sorry. (In the file downloads the library is not present of course.)

🇨🇭Switzerland Castor-designs

Thanks marcoka

Where do I find the repository dww set up? What I did was:

  1. Download paapi5-php-sdk-and-samples archive from the amazon.com page
  2. delete everything but src and vendor folder.
  3. put it on my webspace under /libraries/amazon_sdk
🇨🇭Switzerland Castor-designs

Hi both of you. I can replicte this problem. I guess I will install it manually then.
Thanks for your work marcoka!

🇨🇭Switzerland Castor-designs

why should I write the root folder in plain text in the composer.json? The article states: * note: the `web` represents the folder where drupal lives like: ex. `docroot`. However, my composer.json declares the root anyway in the form of "locations": {"web-root": "./"} so I should be able to use ./modules/contrib/webform/composer.libraries.json by default no?

So it would be correct and less static if the code in the article would just use that instead? Am I missing something?

🇨🇭Switzerland Castor-designs

I can reproduce everything written by the original poster.

@Jaypan what do you mean with restart the webserver? Not all of us have access to restart the webserver. In my case I use a shared hosting where I can't simply restart the server.

🇨🇭Switzerland Castor-designs

Hello @jrockowitz

I ran into the very same poblerm.

  1. Webform Node is installed and enabled
  2. I have access to the token and can use it in the subject line
  3. When i would use an invalid token I get an error message and can't save the settings like this. Therefore it's a valid token.
  4. it's a basic text field
  5. it does not get printed/rendered and is simply empty.

See this screenshot series: https://imgur.com/a/yhEiDot

One thing that is special in my setup: Webform (and Webform node) is installed via Composer while Token is installed manually. I had no other problems with tokens so far.

Production build 0.71.5 2024