Mandsaur
Account created on 2 May 2021, about 3 years ago
#

Merge Requests

More

Recent comments

🇮🇳India himanshu_jhaloya Mandsaur

Hi @fjgarlin Thanks for the information I will close the ticket for "Make module compatible with Drupal 11"

🇮🇳India himanshu_jhaloya Mandsaur

Created patch for deprecated Drupal_get_path fix. Please review

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Created the patch. please Review

🇮🇳India himanshu_jhaloya Mandsaur

Created the patch. please Review

🇮🇳India himanshu_jhaloya Mandsaur

Yes I saw @camilo.escobar thanks for the update

🇮🇳India himanshu_jhaloya Mandsaur

I have fixed this issue "Make the module compatible with Drupal 11" and also attached a patch,
please review and verify.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

I have fixed this issue "Make module compatible with Drupal 11" and also attached patch,
please review and verify .

🇮🇳India himanshu_jhaloya Mandsaur

I have fixed this issue "Make the module compatible with Drupal 11" and also attached a patch,
please review and verify.

🇮🇳India himanshu_jhaloya Mandsaur

I have fixed this issue "Make module compatible with Drupal 11" and also attached patch,
please review and verify .

🇮🇳India himanshu_jhaloya Mandsaur

you should avoid using closures as #after_build callables. Instead, you can use a method of a class.

 public function buildForm(array $form, FormStateInterface $form_state) {
        $form['#after_build'][] = [$this, 'afterBuild'];
        return $form;
    }

    public function afterBuild(array $form, FormStateInterface $form_state) {
        return $form;
    }
🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Created Patch. Please Review

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Hi @bobburns Please try with this

{% for i in 1..forum.depth %}
{% if forum.depth > 0 %}

{% endif %}
{% endfor %}

{{ forum.icon_title }}

{% if forum.description.value %}

{{ forum.description.value }}

{% endif %}
{% for i in 1..forum.depth %}
{% if forum.depth > 0 %}

{% endif %}
{% endfor %}

🇮🇳India himanshu_jhaloya Mandsaur

It seems like you're encountering an issue with parameter expansion in your where condition when using an array placeholder (:names[]) in your update query. This might be due to a change in behavior between Drupal 9.2 and 9.5. To resolve this, you can try a different approach to handle the array of values in the where condition.

One possible solution is to use the condition() method instead of directly specifying the where condition. Here's how you can modify your code to use condition():

$query = \Drupal::database()->update("users_field_data");
$query->expression("name", "LOWER(name)");

// Use condition() to specify the WHERE clause with an array of names.
$query->condition('name', ['admin', 'user_1'], 'IN');

// Execute the query.
$result = $query->execute();

This way, you explicitly specify the IN condition and provide the array of names directly to the condition() method. This should avoid the issue you're encountering with parameter expansion.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Try this

$query1 = db_select('a_blog', 'cb')
->fields('cb', array('title', 'changed_date'));

$query2 = db_select('a_gallery', 'cg')
->fields('cg', array('title', 'changed_date'));

// Ensure both queries have the same number of columns and name them consistently.
$query1->addField('cb', 'title', 'title');
$query1->addField('cb', 'changed_date', 'changed_date');

$query2->addField('cg', 'title', 'title');
$query2->addField('cg', 'changed_date', 'changed_date');

// Combine the queries using UNION ALL.
$query = $query1->union($query2, 'UNION ALL');

// Extend the combined query with PagerDefault.
$query = $query->extend('PagerDefault');

// Execute the modified query.
$results = $query->execute();

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Try this

function mymodule_preprocess_email_wrap(&$variables) {
$email = $variables['email'];
$variables = array_merge($variables, $email->getVariables());
}

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

himanshu_jhaloya made their first commit to this issue’s fork.

🇮🇳India himanshu_jhaloya Mandsaur

Hi @dbielke1986 i you please review if this work i will create the MR

🇮🇳India himanshu_jhaloya Mandsaur

https://www.drupal.org/project/drupal/issues/3257541 Remove AccessDeniedHttpException details from log messages Active

🇮🇳India himanshu_jhaloya Mandsaur

Hi @lostcarpark I am sorry can you please check now I have updated the MR.

🇮🇳India himanshu_jhaloya Mandsaur

Hi @danharper
It can be a broken field after updating the Drupal
go to Admin>Structure>Views>Content. There was a field "Missing-broken links" that didn't appear in the Content Views of the other sites of the site

By removing that field everything started to work fine:

🇮🇳India himanshu_jhaloya Mandsaur

Created a Patch to Composer setup install the plugin in the libraries folder. Please Review

Production build 0.69.0 2024