Thank you @jrockowitz
dan_metille → created an issue.
dan_metille → created an issue.
dan_metille → created an issue.
Same error while updating from Commerce 8.x-2 to any 3.0.0 version. Any idea about how to fix it?
dan_metille → made their first commit to this issue’s fork.
Hi All!
Is there any update about the continuation of this project?
I think it really worth it.
Thanks
dan_metille → created an issue.
Thanks Marcus. In the meanwhile, I will give a try to that linked solution in my dev environment.
sahaj → created an issue.
sahaj → created an issue.
Navigation spacing and animation issues
Space between the Drupal logo (including TM) and the first navigation link item is much more narrow than between the other navigation link items. Not a big deal, but this hurt my eyes.
Also, about the submenu dropdown blocks, the (vertical) padding is very big, even if they overlap the main navigation, that make a big distance to select a sub item. Coupled with the very slow closing animation, it feels like unnecessary loosing precious time.
I'm feeling that this suggestion is interesting, as I'ld prefer to only put my OpenAI key in one place.
I originally landed on this thread because I was planing to uninstall metatag_ai on a project and use Automators instead.
Now I'm curious to make some comparison, because @wouters_f stated that 'This module is super powerful'.
Thanks @ananya.k. Just noticed that I messed it up initially posting on the parent module, instead of ai_interpolator_openai.
However, with the patch I'm getting the followint error:
The website encountered an unexpected error. Try again later.
Error: Call to undefined method Drupal\ai_interpolator\Rulehelpers\GeneralHelper::getImageStyles() in Drupal\ai_interpolator_openai\Plugin\AiInterPolatorFieldRules\OpenAiCustomField->getModelsForForm() (line 75 of modules/contrib/ai_interpolator_openai/src/OpenAiTrait.php).
Drupal\ai_interpolator_openai\Plugin\AiInterPolatorFieldRules\OpenAiCustomField->loadExtraAdvancedFormFields() (Line: 38)
Drupal\ai_interpolator_openai\Plugin\AiInterPolatorFieldRules\OpenAiCustomField->extraAdvancedFormFields() (Line: 367)
Drupal\ai_interpolator\FormAlter\AiInterpolatorFieldConfig->alterForm() (Line: 16)
ai_interpolator_form_field_config_edit_form_alter() (Line: 552)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 834)
Drupal\Core\Form\FormBuilder->prepareForm() (Line: 285)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 62)
Drupal\field_ui\Controller\FieldConfigAddController->fieldConfigAddConfigureForm()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 100)
Drupal\wire\StackMiddleware\RegisterWireMiddleware->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
sahaj → created an issue.
Thanks @Marcus_Johansson, the last dev version seems to have solved the reported issue.
sahaj → created an issue.
Unless a customer require not to, I'm totally fine feeding the AI.
But what really got on my nerve is that, especially Antrhopic/Claude bots are not following robots.txt instructions.
More than that, they are throwing so many dull and repeated request, that I had to spend nearly a full day to be able to block what can almost be considered as DDOS attack.
I won't go further into the ethical and thrust values in AI, that Anthropic is claiming for, in order to keep this thread nice.
Actually, I'm having a mix between RC and dev:
"drupal/ai_interpolator": "^1.0@RC",
"drupal/ai_interpolator_openai": "1.0.x-dev@dev",
sahaj → created an issue.
@drugan, yes I saw that issue, but somehow its title is misleading, as it only aims toward removing dependency to cl_server.
Yes, that would be great.
Honestly I don't know. Since the time I'm using Schema.org Blueprints, I should admit that I'm still not mastering all the sides of it!
For instance, I'm still sometime struggling while adding fields or paragraphs that don't exactly fit the schema.org structure. But the concept and realization is so powerful... Maybe it is too soon, but I was wondering if it would be possible and an interesting idea to connect with such module as
AI Interpolator →
. This module is for instance able to create content types and fields from a PDF, using AI. The pity is that it's don't follow the schema.org structured hierarchy. Would it be difficult?
Just reverted the patch to check further. And I can confirm that Schema.org additional type isn't enabled for 'Service' content type.
However, it has a select box for the Type (that I maybe forgot to delete at some point). But even deleting that field alone doesn't help.
Actually, I noticed the issue on a 'Service' type. But what was strange, is that the Schema.org additional type wasn't enabled.
sahaj → created an issue.
@jcontreras Thanks, your patch seems to have fixed my similar issue.
There are time where I feel such love to some Drupal community people! Thanks!!
sahaj → created an issue.
sahaj → created an issue.
sahaj → created an issue.
Seems that patch does not apply to D10.2
Thanks for the clarity of the recommendations on the project page.
Being more at ease with theming that development, it would be ideal to see a list of the updated config files on the release page. But, I understand all the great work being done for the development of schemadotorg and already more than happy with your support. Also, if I take better care of my configs files, I guess that I will be able now to smoothly manage the next updates.
Big thanks!
sahaj → created an issue.
I understand that the module is still in alpha release, and thanks for all the work and the support!
Now I notice the warning message below, new with alpha-12. Is there also a way to fix it?
Warning: foreach() argument must be of type array|object, null given in Drupal\schemadotorg_cer\SchemaDotOrgCorrespondingReferenceManager->mappingDefaultsAlter() (line 51 of modules/contrib/schemadotorg/modules/schemadotorg_cer/src/SchemaDotOrgCorrespondingReferenceManager.php).
Drupal\schemadotorg_cer\SchemaDotOrgCorrespondingReferenceManager->mappingDefaultsAlter(Array, 'node', 'article', 'Article') (Line: 20)
schemadotorg_cer_schemadotorg_mapping_defaults_alter(Array, 'node', 'article', 'Article') (Line: 114)
Drupal\schemadotorg\SchemaDotOrgMappingManager->Drupal\schemadotorg\{closure}(Object, 'schemadotorg_cer') (Line: 388)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('schemadotorg_mapping_defaults_alter', Object) (Line: 115)
Drupal\schemadotorg\SchemaDotOrgMappingManager->getMappingDefaults('node', 'article', 'Article') (Line: 405)
Drupal\schemadotorg_ui\Form\SchemaDotOrgUiMappingForm->buildFieldTypeForm(Array, Object) (Line: 184)
Drupal\schemadotorg_ui\Form\SchemaDotOrgUiMappingForm->form(Array, Object) (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('schemadotorg_mapping_edit_form', Object) (Line: 283)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object) (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Thanks for help.
sahaj → created an issue.
sahaj → created an issue.
sahaj → created an issue.
I've upgraded to Drupal 10 and use the Merge request !9
patch, but I'm then getting the following error:
Warning: Undefined array key "sub-content-type" in Drupal\subrequests\Normalizer\MultiresponseJsonNormalizer->normalize() (line 19 of modules/contrib/subrequests/src/Normalizer/MultiresponseJsonNormalizer.php).
Drupal\subrequests\Normalizer\MultiresponseJsonNormalizer->normalize(Array, 'json', Array) (Line: 159)
Symfony\Component\Serializer\Serializer->normalize(Array, 'json', Array) (Line: 138)
Symfony\Component\Serializer\Serializer->serialize(Array, 'json', Array) (Line: 142)
Drupal\rest\Plugin\views\style\Serializer->render() (Line: 438)
Drupal\rest\Plugin\views\display\RestExport->Drupal\rest\Plugin\views\display\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 439)
Drupal\rest\Plugin\views\display\RestExport->render() (Line: 1548)
Drupal\views\ViewExecutable->render() (Line: 429)
Drupal\rest\Plugin\views\display\RestExport->execute() (Line: 1645)
Drupal\views\ViewExecutable->executeDisplay('rest_export', Array) (Line: 81)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 797)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 386)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 407)
Drupal\rest\Plugin\views\display\RestExport::buildResponse('slider_groups', 'rest_export', Array) (Line: 56)
Drupal\views\Routing\ViewPageController->handle('slider_groups', 'rest_export', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 44)
Drupal\redirect_after_login\RedirectMiddleware->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "sub-content-type" in Drupal\subrequests\Normalizer\MultiresponseJsonNormalizer->normalize() (line 19 of modules/contrib/subrequests/src/Normalizer/MultiresponseJsonNormalizer.php).
Drupal\subrequests\Normalizer\MultiresponseJsonNormalizer->normalize(Array, 'json', Array) (Line: 159)
Symfony\Component\Serializer\Serializer->normalize(Array, 'json', Array) (Line: 138)
Symfony\Component\Serializer\Serializer->serialize(Array, 'json', Array) (Line: 142)
Drupal\rest\Plugin\views\style\Serializer->render() (Line: 438)
Drupal\rest\Plugin\views\display\RestExport->Drupal\rest\Plugin\views\display\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 439)
Drupal\rest\Plugin\views\display\RestExport->render() (Line: 1548)
Drupal\views\ViewExecutable->render() (Line: 429)
Drupal\rest\Plugin\views\display\RestExport->execute() (Line: 1645)
Drupal\views\ViewExecutable->executeDisplay('rest_export', Array) (Line: 81)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 797)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 386)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 407)
Drupal\rest\Plugin\views\display\RestExport::buildResponse('slider_groups', 'rest_export', Array) (Line: 56)
Drupal\views\Routing\ViewPageController->handle('slider_groups', 'rest_export', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 44)
Drupal\redirect_after_login\RedirectMiddleware->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
And I'm really getting lost into this thread. What is the status of this issue and how to fix it?
Or at least to provide a patch that works with Drupal 10, if still needed. With end of support for D9 and all the versions of the Group module floating around, it would be great to have updated instruction on the project page. Thanks for any feedback.
Is the patch still needed with Drupal 10?
As it is mentioned as 'required' by the
https://www.drupal.org/project/group_comment →
module, it would be great to have some update.
Thanks for any feedback.
Fast fix! Thanks
sahaj → created an issue.
Exactly that! Thanks a lot @rockowitz
sahaj → created an issue.
Could the starterkit include CRM structure and functionalities?
Yes, on Drupal 10.1, right. Thanks for pointing the parent issue.
sahaj → created an issue.
Also might be obvious, but a Run `composer update`
might be welcome between these 2 instructions:
- Set install path for schemadotorg_demo. See example below.
- Run `composer require 'drupal/schemadotorg_demo-schemadotorg_demo:1.0.x-dev@dev' -W`. Repeat until there are no more changes.
And I had to rename the 'schemadotorg_demo-schemadotorg_demo' folder into 'schemadotorg_demo' at some point.
But beside that I could complete both **OPTIONS 1** and **OPTIONS 2** .
With **OPTIONS 3** using web/modules/contrib/schemadotorg_demo/scripts/schemadotorg_demo.sh install_demo_standard_next
I got my terminal looping indefinitely into 'Y' (see screenshot).
PS: now that 10.1.x is released, maybe only to support that version of Drupal?
Can you see what gets passed as credentials to the Google client ?
Not sure if this is what you requested, but here is my document-ai-credentials.json:
sahaj → created an issue.
Yes, products are a big part of Schema.org, that would be great to fill the gap.
I'm getting this error too!
sahaj → created an issue.
sahaj → created an issue.
Yes, accessibility is a very important priority and I fully support it. But come on, it is counter productive if it penalized the visual comfort of most users. UI/UX is an holistic science and art which should not only blindly follow rules in detriment of the ease of use. On 1440px screen, the horizontal toolbar is now split on two rows! This is not a good way to make people receptive to accessibility improvement.
Yes, please @rszrama ;)
And there is also a new 1.2.1 version for symfony_mailer which is asking for update because the old one is unsupported.
Coming here to find a way to disable auto_reload, which seems to be automatic while debug is set to 'true'.
I understand that in most case it is useful, but from a theming side it is NOT ALWAYS the case and I would like to have the option to disable it. (If there is already a way, could someone please let me know). In case if we are using Vite.js to compile the theme, auto_reload is unnecessary and time consuming.
sahaj → created an issue.
sahaj → created an issue.
sahaj → created an issue.
Strange, while using <span class="cart-block--summary__count"><%= count %></span>
in my commerce-cart-flyout-block.html.twig file, with v.1.9, I'm getting the following error:
VM58770:8 Uncaught ReferenceError: count is not defined
at Object.eval (eval at template (underscore-min.js?v=1.13.6:6:15305), :8:9)
at Object.f [as render] (underscore-min.js?v=1.13.6:6:15382)
at r.render (CartBlock.js?v=9.5.3:29:30)
at v (backbone-min.js?v=1.4.1:1:3295)
at d (backbone-min.js?v=1.4.1:1:3081)
at u (backbone-min.js?v=1.4.1:1:902)
at r.trigger (backbone-min.js?v=1.4.1:1:2961)
at module.js?v=9.5.3:66:17
at Function.mr (underscore-min.js?v=1.13.6:6:9283)
at Object.success (module.js?v=9.5.3:63:11)
Any idea what can be wrong?