1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers (Page 3)

Find answers to your questions about Drupal Answers or help others by answering their Drupal Answers questions.

Node is not created, but nid is returned

I have this code in my module. $node = new stdClass(); $node->title = "YOUR TITLE"; $node->type = "page"; node_object_prepare($node); $node->language = 'it'; $node->uid...

Asked on 12/26/2021 by ZioBudda

2 answer

Solr multi-select facets occurs bad request error

I faced with a weird problem using apache solr faceting search. While selecting two facet constraints, solr respond with 400 error:"400" Status: null: null HTTP ERROR 400 Problem accessing /solr/project/select....

Asked on 12/26/2021

1 answer

How do I validate the term title in hook_taxonomy_term_presave()?

How do I validate the term title in hook_taxonomy_term_presave()? Is there a way to proceed with the validations in hook_taxonomy_term_presave()? @Edit I rendered taxonomy add term form via "...

Asked on 12/26/2021 by Sugandh Khanna

2 answer

EntityDrupalWrapper->value() causes infinite recursion on user login?

I have a few instances on my site where I perform actions on User Login. I create an EntityMetadataWrapper like so:global $user;$uw = entity_metadata_wrapper('user', $user);And then I go to...

Asked on 12/24/2021 by tigertrussell

1 answer

Feed import breaks due to ajax error

When I tried to do a feed import, I got the following error.An AJAX HTTP error occurred.HTTP Result Code: 200Debugging information follows.Path: /batch?id=1726&op=doStatusText: OKResponseText [Omitted...

Asked on 12/24/2021 by kenpeter

1 answer

Clean URL leads to duplicate URL after migration to another hosting

I have enabled clean URLs on the site after various article has been published on the site. But when I migrate from Bluehost VPS to Bluehost Share hosting, the clean...

Asked on 12/24/2021 by Wale

1 answer

Multi site Image cache issue

actually i am new to drupal and i have migrated my drupal site from 8 to 9. This site is multi site, every thing is working fine but the issue...

Asked on 12/24/2021 by user99683

0 answer

How to define an internal link as parent in

How do I create a menu link programmatically to a node that I can use as a parent for other links? In MYMODULE.links.module, I defined some links for my navbar:...

Asked on 12/24/2021

1 answer

Different node parent menu for per language

My struggle with Drupal 8 continues as I moved onto i18n settings. I've enabled and configured content translation and now I'm facing issue of menu displaying untranslated pages. Popular suggestions...

Asked on 12/24/2021

0 answer

How to make relationships between users

I have the quiz module installed on my website. I have setup two user roles on my site, Student and Parents. I want to make a view that shows the...

Asked on 12/22/2021

1 answer

Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP